|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
nice one al 
|
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
thanks, I'm thrilled cause I've just finishing up writing my first own (not ported) hack. Using js to let users choose whether to show other people's sigs. Good for 56Kers. Just gotta figure out hot to not get errors when members have a ' in their sig. 
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Use $signature = UBBCGI::escape($singature); before you print it inside the JS code, then in the JS code use: document.write(unescape('$signature'));
|
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
 It worked. I'm gonna try to post it by monday morning.
|
|
|
|
|
Joined: Nov 2001
Posts: 1,703
Moderator / Da Masta
|
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,703 |
Escaping HTML always wins Anyway, nice port, Al, I was getting fed up of porting them all myself 
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Al, you know now unregistered users in your board can't view signatures [code][/code]is the code you use, you should use more like the avatar code, I guess. (take a look at avatar_line function, and how it's called)
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Cool! 
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 536
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 23
|
|
|
|