PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old October 2nd, 2007, 11:52 AM   #1 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
tiny javascript bug and [added 2.4]

Javascript doesnt like the & in the url..(doesnt work in some browsers)

thats why in the showimage template the should be a smal modification.

find:
Code:
Content visible to verified customers only.
and replace with
Code:
Content visible to verified customers only.
there are 2 changes
the & before imageid changed to & only
and
the SESSIONURL that is defined in headinclude template specially for javascript purpose.. (instead of $session[sessionurl])
its: var SESSIONURL = "$session[sessionurl_js]";
(we have it so we use it instead of $session[sessionurl] in javascript)

if you find other instances.. remind you that it has following format as defined in class core:

php sessionurl:
$this->vars['sessionurl'] = 's=' . $this->vars['dbsessionhash'] . '&';

while the javascript version is:
$this->vars['sessionurl_js'] = 's=' . $this->vars['dbsessionhash'] . '&';

so for both.. you need a ? and the & or & is included..

thats all

Luc
Luciano is offline  
Old October 2nd, 2007, 11:56 AM   #2 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Good deal, Tagged for 2.4
Zachariah is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tumbnail of selected image is TINY on ver 6 Silver_2000 Photopost Pro Bug Reports 6 October 3rd, 2007 09:29 AM
Tiny template issue Pasqualis Photopost Pro Bug Reports 1 October 1st, 2007 06:28 PM
2.2 upgrade - bug [added 2.3] Sakera Bugs - vBulletin 3.6x 3 June 10th, 2007 07:42 PM
How do I call PhotoPost with Tiny Portal ashelby Classifieds How do I...? 4 January 30th, 2007 08:23 PM
Why am I forced to pay for this tiny upgrade? michaelsilvia Installs and Upgrade - vBulletin 3.5.X 3 August 17th, 2006 06:36 AM


All times are GMT -5. The time now is 01:15 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0