RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1074 | Replies: 6
Reply
Join Date: Jul 2005
Posts: 112
Reputation: StandardsDT is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
StandardsDT's Avatar
StandardsDT StandardsDT is offline Offline
Junior Poster

GeSHI not working properly

  #1  
Apr 26th, 2006
hey everyone im posting this in here cause its the only place that seems some what relevant to GeSHI as it uses php5. anyways heres my issue

our forum is IPB 2.1.X if you visit the following link youll clearly see that my responce is wrapped in the quote box as well. this is being caused by some conflict with GeSHI for whatever reason it displays the quote improperly. also when i edit a post or when a user edits their own post that has some one elses reply quoted it changes the closing quote tag. this is what it looks like.

[quote name='Ian' post='2550' date='Apr 22 2006, 09:15 PM']
just finished making my new site.

www.exgclan.net

still a few things to do on it but, just tell me what you think :wave2:
<!--QuoteEnd--><!--QuoteEEnd-->

if some one could please help me out that would be great. ive tried other forums and people just ignore the topic and let it get pushed down to the bottom. ive posted other issues here before and daniweb has never failed me once. so i trust some one will reply even if they dont know what could be the problem just to say "hey ive never experienced this before" or something similar.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,030
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: GeSHI not working properly

  #2  
Apr 26th, 2006
I'm really confused what you're asking. I don't see a [/quote] anywhere in the snippet you provided. Also, what does this have to do with GeSHI? Are you passing all posts through it?
Dani the Computer Science Gal
Reply With Quote  
Join Date: Jul 2005
Posts: 112
Reputation: StandardsDT is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
StandardsDT's Avatar
StandardsDT StandardsDT is offline Offline
Junior Poster

Re: GeSHI not working properly

  #3  
Apr 26th, 2006
Originally Posted by cscgal
I'm really confused what you're asking. I don't see a [ /QUOTE] anywhere in the snippet you provided. Also, what does this have to do with GeSHI? Are you passing all posts through it?


exactly in that code i provided it should end with the [/quote] tag not <!--QuoteEnd--><!--QuoteEnd-->

it displays <!--QuoteEnd--><!--QuoteEnd--> when editing the post not the [/quote] tag

if you read my post in the link my username is campusimpact youll see the quote box. my reply is in that quote box as well. we are using GeSHI Syntax Highlighter. ever since setting it up its cause the quote tag to quote everything when you are quoting some one elses reply. does that make a bit more sense or not really?
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,030
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: GeSHI not working properly

  #4  
Apr 26th, 2006
I'm familiar with the GeSHI syntax highligher but I have absolutely zero experience with Invision. I'm afraid that's my problem The only thing I can think of is that GeSHI's parser is automatically adding <div> tags to do its color coding, and it's causing some incorrectly nested <div> tags somewhere ... causing the <div> which opens the quote area to not close properly where it should.

I know that GeSHI's configuration allows you to set it up using <font> tags or <div> tags ... if I remember correctly. Try turning GeSHI's <div> tag option off and see if that fixes the problem. Otherwise, play around with GeSHI's configuration and actually set it up to parse your posts, but not to change any of the font or color coding. This way you'll know whether the problem is in running your posts through GeSHI in the first place or in something GeSHI is doing to alter your posts' output, screwing something up.
Dani the Computer Science Gal
Reply With Quote  
Join Date: Jul 2005
Posts: 112
Reputation: StandardsDT is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
StandardsDT's Avatar
StandardsDT StandardsDT is offline Offline
Junior Poster

Re: GeSHI not working properly

  #5  
Apr 26th, 2006
alright thanks cscgal we shall give that suggestion a shot. ill report back in a bit to let ya know if that worked or not. thanks!
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,030
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: GeSHI not working properly

  #6  
Apr 26th, 2006
Good luck
Dani the Computer Science Gal
Reply With Quote  
Join Date: Mar 2004
Posts: 732
Reputation: Phaelax is on a distinguished road 
Rep Power: 6
Solved Threads: 31
Phaelax Phaelax is offline Offline
Master Poster

Re: GeSHI not working properly

  #7  
Apr 28th, 2006
Perhaps you should send the entire post to Geshi to be highlighted.
Parse your text, find whatever is inside the code tags, then send only that text to be parsed with Geshi.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:48 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC