php forum
php mysql forum
php mysql smarty
 
Topic Options
#260547 - 10/13/03 01:50 AM Beta-[6.2-6.3-6.4] No Image Tag in Signatures
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: No Image Tag in Signatures <br /> <br />Description: This will disable the use of the [ image ] tag (other than graemlins) inside of signatures. Applying this hack will stop all profiles from using the image tag when they edit their profile. Existing signatures are unaffected unless you run the included optional script which updates and removes the markup from existing signatures. <br /> <br />Working Under: UBB.Threads 6.2-6.4 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: none <br /> <br />Author(s): JoshPet <br /> <br />Date: 10/12/03 <br /> <br />Credits: Leo Laporte of www.leovilletownsquare.com for requesting it. <br /> <br />Files Altered: ubbt.inc.php, changebasic.php, /languages/english/editbasic.php <br /> <br />New Files: updatesigs.php (optional) <br /> <br />Database Altered: none <br /> <br />Info/Instructions: Apply changes. If you wish to remove the markup from the existing signatures, upload the updatesigs.php script to your ubbthreads directory and run it in your browser. Remove it when you are done. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
96864-NoImageInSig1.0.zip (61 downloads)



Edited by JoshPet (12/15/03 12:28 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260548 - 10/20/03 01:11 PM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Daine]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Problem with this and the Birthday Mod together. Will have to work out details
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260549 - 10/31/03 02:42 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: 234234]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Can this be setup by groups.. so advertisers can have and others can't.

Top
#260550 - 10/31/03 03:54 PM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
You'd have to have it check the group while they are editing their profiles, but it's basically passing a parameter to the do_markup function, which if the parameter is passed, it'll skip the image tag markup.... so you could use groups to determine if you pass the parameter or not. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260551 - 12/11/03 03:29 PM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Daine]
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
Dumb question, but..<br /><br />I was looking through your noimageinsig mod, and have a question about a line of text.. Specifically this. <br /><br />[]<br />## <br />## Find this: <br />## <br /><br />if ($config['allowimages']) { <br /><br /><br /># <br /># Change to this: <br /># <br /><br />// Modify so that the image tag can't be used in sigs - by JoshPet <br />if (($config['allowimages']) && (!$noimage)) {<br />[/]<br /><br />The code we're supposed to find shows up more than once in the file - are we supposed to replace all occurrances of that? Would like clarification before I go mucking up the file.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#260552 - 12/12/03 09:21 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Daine]
little_joe Offline
Member

Registered: 10/31/01
Posts: 209
Loc: Cleveland, Ohio
Hi Josh, are you inferring that no img in sig could be applied to certain groups and other groups would be excluded from this restriction?<br /><br />If not, can that be done? I think that'd be very cool, as sig images is one of the "features" we'd like to offer paid members via myPaymentPal. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#260553 - 12/15/03 12:27 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Philschi]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Hey Joe - sorry for the late reply - I've been on vacation.<br /><br />When looking for this:<br /><br /> if ($config['allowimages']) {<br /><br />Change the one in the "function do_markup" section.<br /><br />The other one appears in the undo_markup section and does not need to be changed.<br /><br />I'll clarify better in my instructions. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />Josh
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260554 - 12/15/03 12:29 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: JoshPet]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
That would probably be possible, although not part of this mod. It's doable, but would take some additional coding to check it against group permissions. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260555 - 12/15/03 08:34 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Daine]
little_joe Offline
Member

Registered: 10/31/01
Posts: 209
Loc: Cleveland, Ohio
Cool - thanks Josh. FWIW being able to restrict sig images by groups would be an attractive change!<br /><br />I may have mentioned but we are looking to implement myPaymentPal and package features w/ it - ie only paid members can post pix, sig images, have avatars, etc.

Top
#260556 - 12/15/03 09:44 AM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: JoshPet]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Once I get myPaymentPal ready for sale - I need to pull together a number of these "restrict by group" type modifications and post them. As they do/can go hand in hand. It's on my list. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260557 - 12/15/03 01:12 PM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: Daine]
little_joe Offline
Member

Registered: 10/31/01
Posts: 209
Loc: Cleveland, Ohio
I'd be happy to help you - since I am doing the exact same thing to get ready for mPP! I can turn the list over to you if it'd help, just let me know.

Top
#260558 - 12/15/03 01:37 PM Re: Beta-[6.2-6.3-6.4] No Image Tag in Signatures [Re: JoshPet]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
I am working on commisioning josh to do these upgrades. We definately need to have these hacks for the mypaypal addon. Folks just won't subscribe for no features or incentives and to turn off the board to non subscribers will just kill your site growth. Very excited to see these mods come out <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top


Moderator:  Ian_W 
Who's Online
0 registered (), 20 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks