View Full Version : New Pages feature issues
Shannon Hutcheson
05-04-2006, 07:08 PM
Having issues with the new pages feature. Particularly with forms and I don't know why.
http://www.cattery-index.com/links/padvertise.html
The links are not working on that page either. External links, doesn't matter. A very serious issue to me.
I need the paypal encrypted buttons to work
Also having issues with apostrophe's. Showing as 'escaped'. Could this be related to incorrect urls as well?
These issues need to be resolved ASAP
Bryan Ex
05-04-2006, 08:19 PM
LOL... I was just coming to post about the exact same thing. Apostrophes and quotations are not escaped (but I haven't tried a form yet). :unsure:
Bryan Ex
05-05-2006, 12:39 AM
Shannon... I managed to get my custom pages working fine by posting the html directly into the data base fields for each page rather than using the admin interface. If you're in a hurry to get set up (like me) that may be your fastest and easiest way right now.
Shannon Hutcheson
05-05-2006, 01:05 AM
data base fields? please elaborate? :tik:
*sigh* now I can't even get into my admin page. so frustrating
Bryan Ex
05-05-2006, 02:36 AM
uh-oh... you will need to be comfortable working with phpmyadmin if this option is going to be used. One of the directory tables is called "pages" and all the text for each of the custom pages is stored in the database. If you aren't familiar working with your database then hanging on until the edit function is fixed up is your best bet.
Shannon Hutcheson
05-05-2006, 02:52 AM
no I'm ok with making edits in the sql tables. I didn't know I could paste the html directly in there. If you could kindly explain to me how or even where to look, I'll give it a try.
Though, the issues I've been having are serious enough to be fixed quickly I'm sure.
Loving the upgrade by the way. Regardless of the many tweaks after the fact. Mostly template related.
Heading to bed early I think now. Have had a terribly bad pain day. If I can't sleep *I'll be baaaack* lol
Simon Gooffin
05-05-2006, 10:18 AM
Hi all,
I decided to investigate this issue quickly. It seems it's not easy to support quotes and apostrophes in the script :(( I will try to make a detailed research in the code and let you know the results. Thanks for your patience.
Btw there is a way out for you now. Simply save that generated page as HTML page and modify it manually. Then upload to your server and make an external link to that saved page ;)
To fix apostrophes and " problem simply make the following changes:
*** open admin/manage-pages.php ***
*** find the following code ***
//$tmpString = str_replace("\"", "\"", $tmpString);
*** change it to the following ***
$tmpString = str_replace("\"", "\"", $tmpString);
*** save changes ***
Shannon Hutcheson
05-05-2006, 11:20 AM
Thanks Simon. I'll use the external page option for now. Though I expected it to include the file within the template. I will try to find a work around for that too.
Thanks for your dedication Simon :)
Simon Gooffin
05-05-2006, 11:55 AM
I'm glad to advise you
Bryan Ex
05-05-2006, 02:09 PM
Shannon... I have created a banner page by using one of the templated pages without problem (you can view a sample HERE (http://www.kinkincanada.com/links/pbanners.html)).
What I did was to create the page in basic html and then copied everything between the <body> tags. I then went to phpmyadmin and pulled up the "pages" table in the eSyndiCat database. I found the name of the page I wanted to use and clicked on edit, then pasted my html into the "content" box. It sounds like a hassle but it was actually very quick and easy to do with everything rendering correctly in both Firefox and IE.
Simon Gooffin
05-05-2006, 02:57 PM
wow, you gave me a tip how to fix that.. This problem occurs because of the javascript editor I used on our 'manage pages' page. So what I should do - just add another button there in order to switch to plain text formating instead of that editor :) So it will have the same effect like modifying via admin panel
Bryan Ex
05-05-2006, 03:02 PM
Wonderful Simon. :good:
I accept $$$ by Paypal... but my "hide the affliate code" (http://www.esyndicat.com/forum/viewtopic.php?t=1345) mod would be also accepted. :P
Simon Gooffin
05-05-2006, 03:25 PM
ok you will get your "trick" asap :)
I do not like to share my money with anyone :P
Shannon Hutcheson
05-05-2006, 07:00 PM
Bryan that works purrfectly! Thank you! :yahoo: :good:
Bryan Ex
05-06-2006, 04:44 AM
This problem occurs because of the javascript editor I used on our 'manage pages' page.
Why not just keep it simple Simon? The language file and style sheet are both edited as text in admin panel so why not custom pages too? I understand what you try to do here but I think it will be much more work for you in the long run for support issues. Just my ideas of course...
echopulse
05-06-2006, 05:12 AM
The reason the external links don't work is because of the escape problem. When they are inserted into the database, they are inserted like this:
<a href=\"http://www.com\">.
Fix the escape problem, and you've fixed the link problem as well.
echopulse
05-11-2006, 09:58 PM
Simon, I can't find the stripslahses code you mentioned in the file. At least not exactly as it's written. I see some stripslashes code at the bottom, but it's not commented out.
Simon Gooffin
05-12-2006, 08:39 AM
Why not just keep it simple Simon?
KISS.. actually I would like to have a bit more complicated things :) I just need some time and you will have a perfect pages management system..
to echopulse:
I have just checked our file from zip archive of 1.2 version. I could find there the following lines:
$tmpString = str_replace(chr(147), chr(34), $tmpString);
$tmpString = str_replace(chr(148), chr(34), $tmpString);
// $tmpString = str_replace("\"", "\"", $tmpString);
echopulse
05-12-2006, 05:59 PM
Yeah, the first time I looked at the file, it was in notepad, and it got a little truncated, so the // appeared on a different line. I found it when I viewed it in my regular txt file viewer.
Loren
07-22-2006, 10:19 AM
Was this ever solved? I m having problems putting my html into the admin page editor, it strips the code, and my images don't show and loads of diff characters appear.
I will do what Brian suggest but wanted to know if this was fixed thats all in the patch. Cheers
redeye
07-22-2006, 03:34 PM
The "funny" thing is , that if you dump html in the news editor box (not WYSIWYG) it works fine, images and all!
Can we have an option to turn off the WYSIWYG editor? Then you can do what you want in Dreamweaver or whatever you use and dump in the html and it should work.
Loren
07-22-2006, 03:44 PM
The "funny" thing is , that if you dump html in the news editor box (not WYSIWYG) it works fine, images and all!
Can we have an option to turn off the WYSIWYG editor? Then you can do what you want in Dreamweaver or whatever you use and dump in the html and it should work.
Yes, bizarre isnt' it! I have done that with mine, but the stripping of code is a security thing..which has been implimented in the suggest-link in order to stop hacking. Why it's in the additional pages one, in Admin i have no idea. Bladdy annoying, taken me all day to get 4 friggin pages together via my phpadmin..Course i was composing at the same time, but argh when the phpadmin times out on top..put it this way..hubby has let me be...other wise it's off with their heads! Nice feeling tho %)
Calvin Herl
07-28-2006, 11:33 AM
ok is there a fix yet or not I am on day 3 since buying the script, so far not to impressed. still waiting for my Dumpd back so decinded to make the extra pages and it dont work either. I can see some of the content, no images I am using the green leaves template, it puts a tab at the top... with no content in the tab.
UPDATE: I got it working now thanks
redeye
07-28-2006, 03:59 PM
UPDATE: I got it working now thanks
That's good that it's working Carl.
Did you fix it yourself? What was the fix?
.... and Carl, try to chill a little, Maňana man, maňana :smoke:, sit back, relax a while, roll a joint, take some pleasure.
In cyberspace no-one hears you scream :huh:
Calvin Herl
07-28-2006, 04:32 PM
I just did the old fashioned way, straight into the database, was quick and no errors.
nitrogendreams
10-16-2006, 11:50 AM
singe 5 months ago, any update about this?
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.