|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Modification Name: User Specific Signature Disabling 6.6 Author(s): Weird Al Description: Allows users to disable the showing of signatures in posts. Demo: http://www.alforadmin.com Requirements: UBB.classic 6.6.x Download Link: here Upgrade Procedure:
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
missed this one, thank you 
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
very usefull, thx. one small mistake, you say: # Step 5: (in public_edit_profile.pl # <tr bgcolor="$vars_style{AltColumnColor1}"> <td valign="top"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets{SigShow}</b>
</font></td> but ist must be: # Step 5: (in public_edit_profile.pl # <tr bgcolor="$vars_style{AltColumnColor1}"> <td valign="top"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets_mods{SigShow}</b>
</font></td> you hackes vars_wordlets_mods but you referred to vars_wordlets, so that the text isn't showing....
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
actually there is more wrong and it isnt working, whats about that here: FIND:
my $AvatarBits = ""; if($Avatar && $vars_display{UseAvatars} eq "yes") { $AvatarBits = qq~ <script language="JavaScript1.1" type="text/javascript"> <!-- var avline = avatar_line("$Avatar"); if(avline) { document.writeln(avline + " ") } // end if // --> </script> ~; } # end if
ADD AFTER:
my $AvatarBits = ""; if($Avatar && $vars_display{UseAvatars} eq "yes") { $AvatarBits = qq~ <script language="JavaScript1.1" type="text/javascript"> <!-- var avline = avatar_line("$Avatar"); if(avline) { document.writeln(avline + " ") } // end if // --> </script> ~; } # end if seems like you mixed up the things a bit 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well technically the vars_wordlets_mods step shouldn't have worked at all, because that line is in vars_wordlets.cgi. Hack that file (vars_wordlets.cgi). As for the first correction, don't change that, and add the line to vars_wordlets.cgi instead. for the second bug, I meant to do that  Just making sure you're awake. anyhoo, keep the "Find:" step, but replace with... my $sig_show = qq~<script language="Javascript" type="text/javascript"> <!-- var usersig = sig_line_thingy("$sig_post_body"); if(usersig) { document.write(unescape(usersig)); } // end if //--> </script> ~; I'll update the zip tomorrow
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
yeah, now it works 
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
well, ehehe i have more bad news for you now in signatures the Greek font isn't supported anymore, the coding of the page doesen't work correctly (only in the sig.) without your hack its fine with your hack not 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I'm gonna need an account at your board, so could you set up a test one?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I just realized I already had an account from some previous support, and have looked at the board.
From what Charles Capps has said from previous posts, javascript doesn't support those languages, so it's not a bug in my hack, it's an issue with the actual language, so you might as well remove the hack.
I'm gonna write a new version that won't have this bug later on. I already know how to do it, but it'll be a task to rewrite everything, and I have school. Depending on the time frame, it might be released alongside 6.7
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
OK, by "alongside 6.7", I meant now To upgrade, remove the old version by undoing it. The old instructions have been left to make that easier. Then just apply the new version. It now uses some css so that the greek language should work. An expample of the greek sig working can be seen here: http://www.alforadmin.com/ubb/ultimatebb.php/ubb/get_topic/f/7/t/000001/p/3#000037
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
oh well, hehe i like this signature on your test link, it remids me of sth. i gonna try it now and i will tell you if it worked  thx. for your support 
|
|
|
|
Joined: Mar 2004
Posts: 1
Junior Member
|
Junior Member
Joined: Mar 2004
Posts: 1 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Dec 2003
Posts: 49
User
|
User
Joined: Dec 2003
Posts: 49 |
Is there any chance this Mod could be ported to 6.7x?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|