A signature problem...Hmmm

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
Okay...At my website the [img] tags work in the signature but when I put this in my signature, it doesn't work and just shows the code.

[url=http://aaotracker.4players.de/usertracker.php?userid=29920][IMG]http://aaotracker.4players.de/trackersig.php?userid=29920[/IMG][/url]


I know there is a way to change this. My signature on here is temporarily the exact one that I'm trying to put in my signature at my site. It is the exact code as above. I believe it's not working because that code is directing to a "page" rather than a direct image. If someone could help me out that'd be great!



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
Does anyone know? I don't have a clue.



Back to top Reply with quote
#3   re: A signature problem...Hmmm
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Are you using PHPNuke?, if so which version?



Back to top Reply with quote
#4   re: A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
7.3...but I think a friend of mine put in 7.4 patched. Not sure. [ Register or login to view links on this board. ] is the URL.



Back to top Reply with quote
#5   re: A signature problem...Hmmm
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
The latest versions of phpNuke took out the ability to use a php file in the Forums. Make sure to backup all files involved before you edit.

Look in the includes/bbcode.php file and find:

$text = preg_replace("#[img]((ht|f)tp://)([^ ?&=" <]*?(.(jpg|jpeg|gif|png)))[/img]#sie", "'[img:$uid]1' . str_replace(' ', '%20', '3') . '[/img:$uid]'", $text);


In the line find:

(jpg|jpeg|gif|png


In that line add:

|php


Finished product:

$text = preg_replace("#[img]((ht|f)tp://)([^ ?&=" <]*?(.(jpg|jpeg|gif|png|php)))[/img]#sie", "'[img:$uid]1' . str_replace(' ', '%20', '3') . '[/img:$uid]'", $text);



Back to top Reply with quote
#6   re: A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
hmm...I just did that and it still is not working. That is weird. The HTML code for the same thing which is:

<a target="_blank" href="http://aaotracker.4players.de/usertracker.php?userid=29920"><img border="0" src="http://aaotracker.4players.de/trackersig.php?userid=29920"></a>


That shows up as code in my signature also and that's HTML.... It's like it's not interpreting the code right...grr. Normal images work great...(JPG & GIF).


Back to top Reply with quote
#7   re: A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
Is there a way I can check to make sure HTML code is being allowed in the signatures?



Back to top Reply with quote
#8   re: A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
I mean...if I could make HTML work in the signatures...I wouldn't even have to use BBCode. I have HTML enabled...but my forum is being a pain...



Back to top Reply with quote
#9   re: A signature problem...Hmmm
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Try adding the following at the end of your allowed html tags in your forums admin:

,img,url

Sometimes that works

Also, a while back I posted on nuke cops about how to add the dynamic signature on phpbb 2.0.8 and up. here's the post:

Found the code which works for 2.0.8. I have it on my site for dynamic signatures. Testing the signature here.

I located this code in the phpBB.com forums.

Here is how I changed the includes/bbcode.php. First I commented out the original line of code (Lines 320 and 321). Next I added the following line below that code:

//Substitute below text to allow for dynamic signatures
$text = preg_replace("#\[img\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(jpg|jpeg|gif|php|png))[^ \"\n\r\t<]*?)\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);




This way I didn't lose anything from the original. This works for the newest version of phpbb 2.0.8 and allows dynamic signatures. If you look close you see more than just the |php addon to the code.



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#10   re: A signature problem...Hmmm
SlickyRyan
CZ Newbie
SlickyRyan has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 04, 2004
0.00 posts per day
Posts: 11
Points: 1,032
   
Where do I add the allowed HTML in the forum administration?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum