You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 75 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Fix Your Signature [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Sep 12, 2004 5:16 pm Reply with quoteBack to top

If your signature is posting the code instead of the image, please use the following link and edit your forum preferences instead of Your Account preferences.

http://nukecops.com/modules.php?name=Forums&file=profile&mode=editprofile

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.

Last edited by BrainSmashR on Fri Oct 08, 2004 6:37 pm; edited 1 time in total
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
~corky~
Major
Major


Joined: Feb 13, 2004
Posts: 777


PostPosted: Sun Sep 12, 2004 5:22 pm Reply with quoteBack to top

Thank you

_________________
Free Christian Support and Advice
[b][COLOR=Red]Web Hosting Coupons, Rebates, and Reviews[/COLOR][/b]
Find all posts by ~corky~View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Sep 12, 2004 5:27 pm Reply with quoteBack to top

Very Happy

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
TAd
Nuke Soldier
Nuke Soldier


Joined: Aug 31, 2004
Posts: 11


PostPosted: Sun Sep 12, 2004 6:01 pm Reply with quoteBack to top

BrainSmashR,

What is the cause of this, currently I have some members where the Sigs work fine for, and some that do not. I have checked thier accounts etc. but see no reason why the Sigs do not show up, and instead they have the code and the link visible. Any help would be appreciated.

Currently running Nuke 7.4

Best regards,
TAd
Find all posts by TAdView user's profileSend private message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Sep 12, 2004 6:30 pm Reply with quoteBack to top

There are 2 sets of preferences in phpNuke. One for phpNuke, and another for the forums. Your Avatar and Signature must be set in the forum preferences.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
HardTrancid
Nuke Soldier
Nuke Soldier


Joined: Oct 02, 2003
Posts: 34

Location: Canada

PostPosted: Wed Oct 06, 2004 4:26 am Reply with quoteBack to top

I used Nuke 7.4 as well, and I used as my signature
Image
http://www.beat-junkies.net/onair.php
But it doesn't work on my site as well. It does work on almost every other Nuke site I try it on, I have even gone into the Forum setup through the Nuke Admin . Must be a security fix that is stopping this from working?

_________________
Hard Trancid
The Bassline Cartel
http://www.thebasslinecartel.com
Find all posts by HardTrancidView user's profileSend private messageVisit poster's websiteICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Wed Oct 06, 2004 2:21 pm Reply with quoteBack to top

includes/bbcode.php

Around line 283 you will see this.

Code:

// [img]image_url_here[/img] code..
   $text = preg_replace("#\[img\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(php|jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);


In the middle of that code you will find the acceptable image formats for your forum. ADD php as shown in the example and your signature should work on your site.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
HardTrancid
Nuke Soldier
Nuke Soldier


Joined: Oct 02, 2003
Posts: 34

Location: Canada

PostPosted: Wed Oct 06, 2004 2:30 pm Reply with quoteBack to top

Thanks alot, that was a huge help! It now allows php Files to be used with the IMG Tag however, when I use the IMG Tag in the Signature it doesn't work... Is there another section in BBCOde I should be looking at?

_________________
Hard Trancid
The Bassline Cartel
http://www.thebasslinecartel.com
Find all posts by HardTrancidView user's profileSend private messageVisit poster's websiteICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Wed Oct 06, 2004 2:51 pm Reply with quoteBack to top

You MUST set your Signature in the forum preferences rather than the phpNuke preferences.

http://YOUR_SITE.com/modules.php?name=Forums&file=profile&mode=editprofile

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Knightro
Nuke Soldier
Nuke Soldier


Joined: Jul 10, 2004
Posts: 10


PostPosted: Thu Oct 07, 2004 4:43 pm Reply with quoteBack to top

What do I have to do to enable flash sigs?
Find all posts by KnightroView user's profileSend private messageVisit poster's website
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Thu Oct 07, 2004 6:14 pm Reply with quoteBack to top

Never used a flash signature.

1) Have you tried adding the file extention to the bbcode?

2) Does it display using the regular [img] tag?

3) gimme a link to play with.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Fri Oct 08, 2004 4:06 pm Reply with quoteBack to top

Some additional tips:
  1. If bbcode tags does not shown properly, be sure bbcode setting is ON either in forum configuration, or appropriate user profile settings.
  2. If html is ON, you can also set image signature using html <img> tag.
  3. Recent phpBB/bb2nuke version does not allow .php extension in image tag. You'll have to modify "includes/bbcode.php" as follows:

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

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

  4. Due of security reason, phpBB/bb2nuke does not allow image containing query string (e.g. signature.php?id=abc123). You can add this capibillity by modify "includes/bbcode.php":

    warning: do this only if you have to, otherwise your site vulnerable to hacking attacks!

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

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



@BrainSmashR:
Why you didn't promote this thread as sticky? Wink

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
Knightro
Nuke Soldier
Nuke Soldier


Joined: Jul 10, 2004
Posts: 10


PostPosted: Fri Oct 08, 2004 5:34 pm Reply with quoteBack to top

sigs work fine with a .jpg or .gif etc extensions, what I want to use is a .swf

this is the link to the file I want to show in my sigs.... I have seen flash sigs work before in forum posts, I just do not know how to configure mine to work properly.

http://knightro.tribalevo.net/knightsig.swf

Image
Find all posts by KnightroView user's profileSend private messageVisit poster's website
Knightro
Nuke Soldier
Nuke Soldier


Joined: Jul 10, 2004
Posts: 10


PostPosted: Fri Oct 08, 2004 5:43 pm Reply with quoteBack to top

http://www.nukecops.com/postt28951.html

this thread was helpful and worked for me.

_________________
<object>
<embed src="http://knightro.tribalevo.net/knightsig.swf" width="400" height="150" align="middle" embed>
</object>
Find all posts by KnightroView user's profileSend private messageVisit poster's website
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Fri Oct 08, 2004 6:35 pm Reply with quoteBack to top

Kewl, I would have never figured that out....was headed in a completely different direction Embarassed

The bad news is I doubt those hacks will ever be implimented here on Nukecops.

Good Idea Madman!

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.

Last edited by BrainSmashR on Fri Oct 08, 2004 6:38 pm; edited 1 time in total
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.258 Seconds - 244 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::