Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
Doulos
Life Cycles Becoming CPU Cycles


Joined: Jun 06, 2005
Posts: 633

PostPosted: Wed Nov 01, 2006 2:15 pm Reply with quote

It seems that even though I have posted several times on our forums NOT to enter or change a sig in Your Account users still do it and complain that their sigs don't work. This hack courtesy of SaBRENT of ClanFGA.com

This hack disallows the entering and editing of signature information in Your Account and adds a link to Forums/profile so users can correctly enter and/or modify sigs.

in modules/Your_Account/index.php find:
Code:
echo "<tr><td bgcolor='$bgcolor2'><b>"._SIGNATURE.":</b><br>"._OPTIONAL."</td>"

       ."<td bgcolor='$bgcolor3'><textarea wrap=\"virtual\" cols=\"50\" rows=\"5\" name=\"user_sig\">".$userinfo['user_sig']."</textarea><br>"._255CHARMAX."</td></tr>"


Change to:
Code:
echo "<tr><td bgcolor='$bgcolor2'><b>"._SIGNATURE.":</b> - (<a href=\"forums.html?file=profile&mode=editprofile\">PLEASE EDIT WITHIN FORUM PROFILE</a>)<br>"._OPTIONAL."</td>"


       ."<td bgcolor='$bgcolor3'><textarea wrap=\"virtual\" cols=\"50\" rows=\"5\" name=\"user_sig\" disabled >".$userinfo['user_sig']."</textarea><br>"._255CHARMAX."</td></tr>"


It works.
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Wed Nov 01, 2006 8:55 pm Reply with quote

Thanks! Here is another thread / poster that will benefit from this hack:
Only registered users can see links on this board! Get registered or login!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Wed Nov 01, 2006 10:19 pm Reply with quote

Or you could try mine: Only registered users can see links on this board! Get registered or login!

Just follow the last set of instructions as some of those are my thoughts.

It will allow them to change it from the your_account module lol.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
montego
PostPosted: Thu Nov 02, 2006 5:38 am Reply with quote

Thanks "D". I had forgotten about this. Unfortunately, this also reminds me that the issue that was fixed is HTML and not bbcode related. Sad
 
gregexp
PostPosted: Thu Nov 02, 2006 5:35 pm Reply with quote

Umm, does this mean that something was fixed but it was not bbcode?

If thats the case, use mine, it fixes the bbcode with a kind of Jerry rigged approach.

I believe it still functions the way that phpbb would like it to, but without a new id being generated from the your_account module, it works too.
 
xGSTQ
Involved
Involved


Joined: Feb 03, 2006
Posts: 267
Location: UK

PostPosted: Tue Nov 14, 2006 11:21 am Reply with quote

I tried the first post and it worked great

when i went to your account index.php the output for the signature was
Code:
[img:2eb501e063]http://www.upixs.com/87/Tghi0/4173.png[/img:2eb501e063]
so obviusly no image was showing in the your account index.php

Not a major issue but would be a nice fix Laughing
 
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©