HTML Tags in story submission.

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2006, 10:16 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
Code done, will be implemented in beta 6 or 6.01....

Site admins have the ability to allow certain tags to be in the story description box. This is setup via the config.php file.

// Submitting a new story / link
define('Story_Content_Tags_To_Allow', ''); // leave blank to not allow tags. example is '<b><br><font><img><p>'
// ---
Reply With Quote
  #2 (permalink)  
Old 03-13-2006, 08:26 PM
New Pligger
 
Join Date: Mar 2006
Posts: 3
Hi Ash and all. propps on a seemingly very cool piece of software.
I wanted to implement basic a href links to my post submissions and it's achievable, but my problem's basically that the links i provide point to my pligg-root, like so: http://www.mysite.com/"http://www.othersite.com/news"
I've managed to install the whole pligg-app into a subfolder on my server, but that shouldn't have anything to do with my problem tho, should it?..
Reply With Quote
  #3 (permalink)  
Old 03-13-2006, 08:55 PM
Casual Pligger
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 69
Send a message via ICQ to KingPin Send a message via AIM to KingPin Send a message via MSN to KingPin Send a message via Yahoo to KingPin
pligg doesnt work with sub dir's at the moment. (soon to be fixed)
Reply With Quote
  #4 (permalink)  
Old 09-22-2006, 03:22 PM
New Pligger
 
Join Date: Sep 2006
Posts: 18
In version 7, I can only add the tags directly to the config2.php file, and then every time thereafter that I use the admin panel, the tags disappear from the config and I have to re enter them... what am I mssing here... I thought I'd read something about the config files being overwritten but can't seem to find it....
Reply With Quote
  #5 (permalink)  
Old 09-22-2006, 03:27 PM
New Pligger
 
Join Date: Sep 2006
Posts: 18
Found it...

Quote:
"Note: There is currently no way to import an existing config.php file. Any manual changes to config2.php will be overwritten the next time you use the admin panel, so use t to make your changes instead of manually."
So I take it that I should just make all config changes via the config2.php file then, and not use the admin panel?
Reply With Quote
  #6 (permalink)  
Old 09-22-2006, 03:57 PM
matoo's Avatar
Casual Pligger
 
Join Date: Sep 2006
Posts: 40
there is a bug with that feature, when you add some tags, and go back to
pligg home » admin panel » Configuration / HTML tags to allow

the layout is messed. i think that the tags are interpretated by the page

the tags i added were :
define('Story_Content_Tags_To_Allow', '<b><blockquote><i>');
Reply With Quote
  #7 (permalink)  
Old 09-22-2006, 04:01 PM
matoo's Avatar
Casual Pligger
 
Join Date: Sep 2006
Posts: 40
btw when adding <blockquote>, aren't we supposed to add </blockquote>or is it automatically supported ?
Reply With Quote
  #8 (permalink)  
Old 09-22-2006, 04:45 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
We are aware of this bug. Basically, like someone already stated, once you enter some html tags to use and then go somewhere else on the site and then go back to the admin panel and try to add more tags it won't let you. When you saved the first ones and went back you probably noticed that the page tried to render them and it essentialy makes the format of the config page really weird.
Reply With Quote
  #9 (permalink)  
Old 09-22-2006, 08:15 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Just wanted to let everyone know that Ash fixed this.
Reply With Quote
  #10 (permalink)  
Old 09-23-2006, 02:16 AM
matoo's Avatar
Casual Pligger
 
Join Date: Sep 2006
Posts: 40
ok this is great thanks !
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow HTML TAGS in full story but not in summary Wonderm00n Questions and Comments 5 04-16-2008 07:19 AM
Mis-formed Html tags in summary text deeplygreen Questions and Comments 2 09-21-2007 12:40 AM
Enableing Html Tags? fiftyone Questions and Comments 1 07-22-2007 05:39 AM
Technorati Tags in Each Story? Is it Possible? bitchabouttech Questions and Comments 2 01-03-2007 09:27 AM
streamline story submission workflow cryptkeeper Questions and Comments 0 01-12-2006 04:28 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