WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Wsn Codes
custom codes not working

Version: 4.0.24
Example URL: http://www.durhamlinks.com/thread/650
printPrint


Wsn Codes
larryjam
Member
Avatar

Usergroup: Customer
Joined: Sep 25, 2003
Location: Canada
Total Topics: 18
Total Posts: 48
Posted 12/25/07 - 05:19 PM:
quote post
#1
I am trying to be able to format user comments. I do not want to enable html, so I am trying to use wsn codes.

The default codes work fine but any code I create works in the preview of the message, but not in the actual thread.

The line breaks do not work in the plain text ediot or the wysiwyg editor, so I creted a code to separate the paragraphs.

I created
[p]MY CONTENT HERE[/p] , let this function as the HTML <p>MY CONTENT HERE</p>


It works fine when I preview the message before posting it, but when posted it displays as:


Settings/
Switches ... Wsn Codes = On
Switches ... WYSIWYG editor = OFF (I have tried it swithched oN and same result)
Switches ... WYSIWYG for descriptions = Off
Switches ... Comment types = Off
Switches ... Combine detail and comments pages = Off

Members/
Manage Usergroups/Member
Can use: HTML = OFF
Require validation of:Comments = On

The results are the same wheather I am logged in as admin, as a member, or as a quest.





Larry

Durham Links Directory


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 12/26/07 - 07:05 PM:
quote post
#2
Line breaks are controlled at Admin -> Settings -> General. Select applicable fields toward the bottom.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
larryjam
Member
Avatar

Usergroup: Customer
Joined: Sep 25, 2003
Location: Canada
Total Topics: 18
Total Posts: 48
Posted 12/27/07 - 03:05 PM:
quote post
#3
That worked, Thank You Paul

Larry

Durham Links Directory


Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.