Text bleeding over problem!!

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-08-2007, 08:32 AM
New Pligger
 
Join Date: Aug 2007
Posts: 7
Please take a look at this screen shot. http://www.unitmodels.co.uk/fault.jpg
i am using the latest pligg release
tinymce editor is being used.

Basically what has happened is ive copied and pasted some text into a new article. the text was
Quote:
</strong><strong>
When i submitted the article it changed all the text in the articles following it to bold and a different type. Has anyone had this problem?? any idea on a fix ?

The fault can quite clearly be seen here http://www.unitmodels.co.uk/fault.jpg
i just dont understand why the article text is overiding the layout....

here is the source code for the page localhost / Fresh!!!

thanks in advance for any help.

Last edited by lazynewt; 09-08-2007 at 08:57 AM.
Reply With Quote
  #2 (permalink)  
Old 09-08-2007, 09:05 AM
Constant Pligger
Pligg Version: 9.7
Pligg Template: Yget
 
Join Date: Nov 2006
Posts: 154
lazynewt, go to the admin links and edit the story for "coal will kill us all". On the edit story page, look at the Summary box for this story, there must be a tag that the submitter must have left 'unclosed'. The tag I assume is <strong>
Whenever I submit a story using tinymce, i always edit or copy/paste a certain portion of the main story on the Summary box, just to ensure there are no tags left unclosed.
Edit: All HTML tags must be closed in the Summary box. i.e a <strong> tag should be closed with a </strong> tag. notice the presence of the 'forward slash /'
Hope that helped

Last edited by nothingman; 09-08-2007 at 09:10 AM.
Reply With Quote
  #3 (permalink)  
Old 09-08-2007, 10:01 PM
New Pligger
 
Join Date: Aug 2007
Posts: 7
Hi nothing man thanks for the reply. After i wrote this i did go and do that. My problem is that my community will be posting articles and if things pick up it might be a bit of a problem unless i modderate it very often and carefully. Just wondering if anyone has an idea how to fix this for good..

thanks for the reply nothingman.
Reply With Quote
  #4 (permalink)  
Old 03-12-2008, 04:40 AM
catchpen's Avatar
Pligg Donor/Coder
 
Join Date: Feb 2008
Posts: 185
same problem here and my tags are closed. It still continues down the page. Wouldn't this mean there's an unclosed tag somewhere in link summary?

...I don't even know why I ask like someone will actually reply around here : (.
Reply With Quote
  #5 (permalink)  
Old 03-12-2008, 07:51 AM
xiesi's Avatar
Constant Pligger
Pligg Version: 9.95
Pligg Template: yget + diy
 
Join Date: Jun 2007
Posts: 223
Send a message via MSN to xiesi
same problem.need someone help us.
Reply With Quote
  #6 (permalink)  
Old 03-12-2008, 06:32 PM
catchpen's Avatar
Pligg Donor/Coder
 
Join Date: Feb 2008
Posts: 185
I found the problem at least with my site.

The culprit is the "add this link to Digg" section in your link_summary.tpl file. The code has a truncated version of the body text ready to send to Digg. If the story gets cut off in the middle of an HTML container, viola - open HTML tag to hose the rest of your page up.

I'm sure there's a way to strip tags before sending to Digg. If anyone knows how please post.

Here's a quick fix: (It won't auto fill the Digg story this way just the title)
Line 230 in the link_summary.tpl
Code:
&nbsp;&nbsp;<a title="submit '{$title_short}' to digg" href="http://digg.com/submit?phase=2&amp;url={$enc_url}&amp;title={$title_short}&amp;bodytext={$story_content}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/digg.png" border="0" alt="submit '{$title_short}' to digg" /></a>
replace with:
Code:
&nbsp;&nbsp;<a title="submit '{$title_short}' to digg" href="http://digg.com/submit?phase=2&amp;url={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/digg.png" border="0" alt="submit '{$title_short}' to digg" /></a>
&amp;bodytext={$story_content} was removed.
If anyone knows how to fix this with full functionality please let us know.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Im wistie/bushwood this big problem. eEven your site must have this problem. MarioF Questions and Comments 0 07-23-2009 11:27 AM
How to show category keywords as text on the site? gnalkit Questions and Comments 4 11-26-2008 06:17 AM
voting problem & comments problem DailyResearch Questions and Comments 11 07-09-2007 09:11 PM
9.6 error xbizsky Questions and Comments 28 07-04-2007 04:54 AM
Need help setting text in header dinki Questions and Comments 0 06-30-2007 06:32 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development