Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Mood mod
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-03-08 12:25:31
[size=12px]Hi all.[/size]  :lol:

I want to show the beautiful and cool mood mode.


I did not create it, but I took it from TB Dev forum.


IMAGES:





Files:

Sql:

ALTER TABLE `users` ADD `moodname` varchar(255) NOT NULL;

ALTER TABLE `users` ADD `moodimg` varchar(255) NOT NULL DEFAULT '';
Login_block:



Find:




	$avatar = htmlspecialchars($CURUSER["avatar"]);

if (!$avatar)

$avatar = "".$site_config["SITEURL"]."/themes/$THEME/images/avatars/default_avatar.gif";





After add:





	$mood ="<div style=\"right:-5px; top:-5px; position:absolute;\"><img src=\"images/nuotaika/".$CURUSER["moodimg"]."\" title=\"". $CURUSER["moodname"]."\">";





Find:





<img width=120 height=120 src=$avatar>





Replace:





<table><tr><td class=embedded2><div style='position:relative;'><img width=120 height=120 src=$avatar><a href=mood.php>$mood</a></td></tr></table>



I hope you like it

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4797"]Mood.rar[/url]
Mood.rar
Download
Unknown User
2011-03-09 00:42:16
mood.php is chopped off at bottom of smileys no way of inputting ( submiting action) etc ?? so that bit will need looking at  :lol:  cheers

v2.06
Unknown User
2011-03-18 17:51:22
I also have this issue. I cant seem to make the footer act right, this is coded kinda oddly.
Unknown User
2011-03-18 19:07:26
hi ya

its missing the submit section at end of code so i see so that bit will need addin in if i get a fix will post it for others to see
Unknown User
2011-03-20 11:29:18
there a problem with your file mood.php ,Choose the button is not present thank you to correct your file
Unknown User
2011-04-04 01:44:47
Will this mod be revived? Is there real potential in this? I cant figure out the submit form.. bah!
Unknown User
2011-04-04 08:23:41


[size=14px]UPDATE 2011-04-04[/size]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4869"]mood.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4870"]mood.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4871"]takemood.php[/url]
mood.php
Download
mood.php
Download
takemood.php
Download
Unknown User
2011-04-04 11:48:13
niceone the submit section is there and seems to work submitting but .

1. i have a single colum layout

2. no login_block shows its just a nav on teh new style nikkibu does

any ideas ?? how to get it displaying best
Unknown User
2011-04-04 14:50:02
I think there will be on the Tag fault
Unknown User
2011-04-04 15:36:06
:lol: k so this may need a re work on the new style layout on themes
Unknown User
2011-04-04 15:51:54
Try editing login_block. add or delete <table>, <td>, <tr> tags
Unknown User
2011-04-04 18:47:20
Why does the image look like its been through paint several times o_O
Unknown User
2011-04-04 19:16:27
[size=14px]Themes Header file code:[/size]

Find:

			$avatar = $CURUSER["avatar"];

if (!$avatar)
After add




			$mood ="<div style=\"right:-5px; top:-5px; position:absolute;\"><img src=\"images/nuotaika/".$CURUSER["moodimg"]."\" title=\"". $CURUSER["moodname"]."\">";





Find:





<img src="' . $avatar . '" alt="' ........





Replace:





<img src="' . $avatar . '"><a href=mood.php>'.$mood.'</a><alt="' ......











[size=14px]Blocks Login file code:[/size]



Find:





	$avatar = htmlspecialchars($CURUSER["avatar"]);

if (!$avatar)

$avatar = "".$site_config["SITEURL"]."/images/default_avatar.gif";





After add:





	$mood ="<div style=\"right:-5px; top:-5px; position:absolute;\"><img src=\"images/nuotaika/".$CURUSER["moodimg"]."\" title=\"". $CURUSER["moodname"]."\">";





Find:





<img width=80 height=80 src=$avatar>





Replace:





<table><tr><td class=embedded2><div style='position:relative;'><img width=120 height=120 src=$avatar><a href=mood.php>$mood</a></td></tr></table>











[size=14px]account-details.php file code:[/size]



FIND:





$avatar = htmlspecialchars($user["avatar"]);

if (!$avatar) {





After add:





$mood ="<div style=\"right:-5px; top:-5px; position:absolute;\"><img src=\"images/nuotaika/".$user["moodimg"]."\" title=\"". $user["moodname"]."\">";





Find:





<img src=<?=$avatar?>><BR>





Replace:  





<table><tr><td class=embedded2><div style='position:relative;'><img width=120 height=120 src=<?=$avatar?>><a href=mood.php><?=$mood?></a></td></tr></table>








EDITED: takemood.php file

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4873"]takemood.php[/url]
takemood.php
Download
Unknown User
2011-04-04 21:46:25
ok i tried this would it be easier to place the mood smiley u want displayed on your profile so when people vist that it shows then :lol:
Unknown User
2011-04-05 10:36:02
UPDATE    add account-details code:
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 5
  • Members: 0
  • Guests online: 5
  • Comments: 3
  • Messages: 1,728