php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#218189 - 06/13/02 04:53 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
I have the MarkAllRead hack installed that only works on an entire board basis. I haven't installed the second revision that will mark each forum as read individually. I'll take a look though and see If I can spot where they can be reconciled.

Top
#218190 - 06/13/02 05:03 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
<blockquote><font class="small">Writes stanmo:</font><hr>Could you please tell me how you added those lines to ubbt.inc.php when you have MarkUpHack installed? Thanks! <hr /></blockquote>Okay, maybe I'm missing something here, but I don't see where ubbt.inc.php is modified as part of the MarkAllRead hack. Either with v6.0 or v6.1. I'm not sure if I'm missing something here or not, but the lines that I instruct you to replace are there in the clean version of UBB.threads and I don't see anywhere in either v6.0 or v6.1 of the MarkAllRead hack that you're instructed to remove them or modify them.<br /><br />Can you explain a little bit about the steps you've taken so far?

Top
#218191 - 06/13/02 05:40 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
stanmo Offline
Junior Member

Registered: 02/27/02
Posts: 23
Oh, actually Lisa and I are talking about MarkUpHack not MarkAllRead! hehehe..

Top
#218192 - 06/13/02 05:54 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Okay, that makes better sense. LOL, I really need to stop copying JustDave and quit staying up until 3:00 AM. It's starting to affect my brain. <img src="/forum/images/icons/laugh.gif" alt="" /><br /><br />Okay, what I would do is look for the following line :<br /><br /><pre><font class="small">code:</font><hr> function do_markup($Body="") {</pre><hr><br />Add the lines from Part Seven - Step 2b after that. <br /><br />Then, look for this line :<br /><br /><pre><font class="small">code:</font><hr> function undo_markup($Body="") {</pre><hr><br />Add the lines from Part Seven - Step 3b after that.

Top
#218193 - 06/13/02 07:21 PM Re: [6.0] AutoQuote v2.0 [Re: JacquiL]
stanmo Offline
Junior Member

Registered: 02/27/02
Posts: 23
Can you please tell me how should I fix this? <br /> <br />Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/e46toronto/forum/newreply.php on line 253 <br /> <br />The first line is my 250... <br /> <br /> <pre><font class="small">code:</font><hr> // ------------------------------------ <br />// No options, we use the board default <br /> else { <br /> if ( ($HTML == "Off") && ($Markup == "On") ) { <br /> $markupselect = "<input type=\"hidden\" name=\"convert\" value=\"markup\" />"; <br /> } <br /> elseif ( ($HTML == "On") && ($Markup == "On") ) { <br /> $markupselect ="<input type=\"hidden\" name=\"convert\" value=\"both\" />"; <br /> } <br /> elseif ( ($HTML == "Off") && ($Markup == "Off") ) { <br /> $markupselect ="<input type=\"hidden\" name=\"convert\" value=\"none\" />"; <br /> } <br /> else { <br /> $markupselect = "<input type=\"hidden\" name=\"convert\" value=\"html\" />"; <br /> } <br /> } <br /> <br /> if ($quote) { <br /> $Body2 = ereg_replace(""","\"",$Body); <br /> $Body2 = ereg_replace("<br />","\n",$Body2); <br /> $Body2 = $html -> undo_markup($Body2); <br /> $quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]"; <br /> } <br /> <br /> if ($postername != $ubbt_lang['ANON_TEXT']) { <br /> $emailselect = " <br /> <input type=\"checkbox\" name=\"mail\" value=\"1\" $Eselected class=\"formboxes\" /> <br /> {$ubbt_lang['DO_EMAIL']} <br /> <br /><br /> <br /> </pre><hr> <br /> <br />Thank you again!!!


Edited by stanmo (06/13/02 07:26 PM)

Top
#218194 - 06/17/02 09:50 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
<blockquote><font class="small">posted by WrĊith:</font><hr /> Okay, that makes better sense. LOL, I really need to stop copying JustDave and quit staying up until 3:00 AM. It's starting to affect my brain. <img src="/forum/images/icons/laugh.gif" alt="" /><br /><br /><hr /></blockquote><br /><br />yes, that will do it <img src="/forum/images/icons/crazy.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218195 - 06/18/02 04:57 PM Re: [6.0] AutoQuote v2.0 [Re: SurfMinister]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
I am now having the same problem stano is having. After going to 6.0.1 and re-applying the hack its broken. Getting a parse error for this:<br /><br />$quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]";

Top
#218196 - 06/18/02 05:19 PM Re: [6.0] AutoQuote v2.0 [Re: palmen]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Weird. I upgraded to 6.0.1 without any problems. There isn't anything in that line that would be causing a parse error that I can see. I'll look into it some more and see if I can come up with anything.

Top
#218197 - 06/19/02 04:00 AM Re: [6.0] AutoQuote v2.0 [Re: palmen]
Goshik Offline
User

Registered: 03/28/01
Posts: 44
<blockquote><font class="small">posted by msula:</font><hr /> <br /><br />$quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]"; <hr /></blockquote><br /><br />Try to put a blank before and after $Body2

Top
#218198 - 06/19/02 02:03 PM Re: [6.0] AutoQuote v2.0 [Re: xBlacky33]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Ack, you're right. I didn't even notice that. I ran into the same problem when I first did it and I forgot to update the instructions. I'll fix them when I get home to include the spaces around $Body2

Top
#218199 - 06/19/02 02:09 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Just thought I'd make a note that the conflicting lines have been sorted out in the new version of my MarkupHack. The markup won't be exactly the same, but it should be adequate I think.<br /><br />The new hack can be found in this thread.
_________________________
/Gardener | Complete list of my mods

Top
#218200 - 06/20/02 09:08 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Instructions have been updated to reflect correct spacing. They can be downloaded at the link in the first post.

Top
#218201 - 06/22/02 11:29 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
This mod has been moved to the finished forum at this location. Please close this thread.

Top
Page 2 of 2 < 1 2


Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
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
New Mods
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
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks