php forum
php mysql forum
php mysql smarty
 
Topic Options
#217555 - 05/30/02 06:21 PM Additions to sendprivate
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
I think that the Instant Graemlins, Instant UBB Code, and Font Color javascript tools should also be added to the send a private message page like on newpost.php. An altered one to not have polls should work fine.
_________________________
SacredShrooms.org

Top
#217556 - 05/30/02 09:14 PM Re: Additions to sendprivate [Re: AleksejVL]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
for v6, this is easy to do, you just need to add<br /><br /> <pre><font class="small">code:</font><hr> $instant_ubbcode = $html -> instant_ubbcode(); </pre><hr> <br /><br />to the sendprivate.php somewhere, and insert<br /><br /> <pre><font class="small">code:</font><hr> $instant_ubbcode </pre><hr> <br /><br />into the template for it, and also will need to change the textarea tag in the template to add the attributes:<br /><br /> <pre><font class="small">code:</font><hr> onkeyup=\"storeCaret(this);\" onclick=\"storeCaret(this);\" </pre><hr> <br /><br />if you're adding it to v5, you'd need to copy over the instant_ubbcode function into the html class, change the textarea and more or less make the same changes. That, and you'd need some of the new smiley images.
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#217557 - 09/30/02 02:06 PM Re: Additions to sendprivate [Re: beatdown]
Gregori Offline
Member

Registered: 09/14/02
Posts: 157
This sounds great! But I can´t get it to work on 6.1.<br /><br />Everything looks great when creating a private message, but nothing happens when clicking the Graemlins, Instant UBB Code or Text Color.<br /><br />Here´s what I did<br /><br />In sendprivate.php:<br /> <pre><font class="small">code:</font><hr> // ------------------<br />// Check for any bans<br /> $userob -> check_ban($user['U_Username'],$Cat);<br /><br />// -------------------------------------------------<br />// Instant Graemlins<br /> $instant_ubbcode = $html -> instant_ubbcode(); <br /><br />// -------------------------------------------------<br />// Find out if this user is taking private messages<br /> $User = rawurldecode($User);<br /> $User_q = addslashes($User); </pre><hr> <br /><br />In sendprivate.tmpl:<br /> <pre><font class="small">code:</font><hr> <br /><br /><br /><br /><textarea onkeyup=\"storeCaret(this);\" onclick=\"storeCaret(this);\" cols="$TextCols" rows="$TextRows" class="formboxes" name="Message">$RawBody</textarea><br /><br /><br />$instant_ubbcode<br /><br /><br /><input type="checkbox" name="ccopy" value="1" class="formboxes" /><br />{$ubbt_lang['MESS_COPY']} </pre><hr> <br /><br />What have I done wrong?

Top
#217558 - 09/30/02 02:35 PM Re: Additions to sendprivate [Re: tubedogg_dup1]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This hack will help you add Graemlins to the Private Message form. <br /><br />Hope that helps! <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks