| | |
GeSHI not working properly
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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.
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.
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.
PHP Syntax (Toggle Plain Text)
[quote name='Ian' post='2550' date='Apr 22 2006, 09:15 PM'] just finished making my new site. <a rel="nofollow" class="t" href="http://www.exgclan.net" target="_blank">www.exgclan.net</a> 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.
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?
•
•
•
•
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?
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?
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.
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.
![]() |
Similar Threads
- Keyboard not working properly (USB Devices and other Peripherals)
- CD - DVD ROM Drive not working properly (Storage)
- Intel D815EEA PCI cards are not working properly (Windows NT / 2000 / XP)
- LAN is not Working Properly After Changing Switch From 10 Mbps 100 Mbps (Networking Hardware Configuration)
- msn messenger not working.. SSL (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: (blowfish_secret)??
- Next Thread: Secure MP3 Downloads ?? Help Needed
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube







