Spaces in tags, no longer works
Version: 5.0.46
URL:
|
jayweb
Forum Regular Usergroup: Customer Joined: Nov 27, 2006 Total Topics: 131 Total Posts: 384 |
Posted 05/15/09 - 7:14 AM:
Hi Paul, A while ago you created a new onelink.php that allowsyou to have spaces in tags. I just added the new onelink.php you created and it no longer works and caises multiple errors in details pages. Can you please make an option for spaces in tags as part of the standard script? maybe an option in admin. |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/15/09 - 12:15 PM:
Where did I give that advice? I never tell anyone to maintain a custom version of a shipped file. To allow spaces in tags, please don't change onelink.php -- use the shipped one untouched. Use a tweaks.php file with $keepchars = ' '; http://scripts.webmastersite.net/wsnlinks/manual/link.php?id=359 Confirmed it does exactly what it should do. Attached screenshots. part of the standard script? maybe an option in admin. Ironic request considering you were just telling me to remove options in the other thread. |
|
jayweb
Forum Regular Usergroup: Customer Joined: Nov 27, 2006 Total Topics: 131 Total Posts: 384 |
Posted 05/18/09 - 3:28 PM:
Yep, I read the old "spaces in tags" thread wrong, sorry. Excuse my posts yesterday, not a good day. |
|
babrees
Expert Usergroup: Customer Joined: Aug 19, 2005 Location: England Total Topics: 392 Total Posts: 1287 |
Posted 10/20/09 - 9:08 PM:
I'm just starting to use tags for the first time and want a space between two words. I see in the new version there is a tweaks editor and keepchars is listed. Putting just a space in does nothing. Putting ' ' does nothing except throw following error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/blousesf/public_html/includes/prestart.php(66) : eval()'d code on line 15 When I went back to the tweaks editor the keepchars was empty so I couldn't correct it. I then manually edited the tweaks.php file. It showed: $keepchars = '' ''; So I Changed it to : $keepchars = ' '; Secondly, can I have more than one character? So I now have a space, but I also want to keep / I tried separating them by a comma but it just threw error again TIA J |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 10/21/09 - 12:02 AM:
Don't separate the characters, just write them all: $keepchars = " /"; Keeping / is going to be a problem if you do URL rewriting, I expect the tag URLs will break. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print