PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 16th, 2012, 02:31 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 20
Using widget on CMS vBulletin

Hi,
sometimes but not always, we have an error on or cms page :
Code:
Content visible to verified customers only.
We use some widget found on or site :
First :
Code:
Content visible to verified customers only.
Second :
Code:
Content visible to verified customers only.
Third :
Code:
Content visible to verified customers only.
Any idea why we have this error, the error sisapear when we remove widget.
Regards,
Olivier
olijo is offline   Reply With Quote
Old December 16th, 2012, 10:29 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
First off this is not a bug or something that we provide product support for. Your not having a problem with our default application. Your telling me your using mod's hacks whatever you want to call them and your having issues.

I will tell you that you can not use hacks multiple times when they have functions within them because you can not redeclare a function that is already the same name in previous code which is the heart of your issue.

So basically your issue is your using someone's work in an incorrect way which is causing your problem.

If you want to replicate and have multiple blocks that all use specific functions you must do one of two things.

Rename any references to function names to something specific in any secondary or third code blocks or remove the function blocks in the second and third code blocks that is in question so you are not redeclaring it.

That will problally point you in the right direction for your hacking mistake.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 16th, 2012, 07:37 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 20
Quote:
Originally Posted by Chuck S View Post
First off this is not a bug or something that we provide product support for. Your not having a problem with our default application. Your telling me your using mod's hacks whatever you want to call them and your having issues.

I will tell you that you can not use hacks multiple times when they have functions within them because you can not redeclare a function that is already the same name in previous code which is the heart of your issue.

So basically your issue is your using someone's work in an incorrect way which is causing your problem.

If you want to replicate and have multiple blocks that all use specific functions you must do one of two things.

Rename any references to function names to something specific in any secondary or third code blocks or remove the function blocks in the second and third code blocks that is in question so you are not redeclaring it.

That will problally point you in the right direction for your hacking mistake.
Ok,
in fact i already removed before the code
Code:
Content visible to verified customers only.
But i removed the first widget, not the second and i obtained an error.
Logical but i just realize now my mistake.
Regards,
Olivier
olijo is offline   Reply With Quote
Old December 16th, 2012, 08:03 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Yes whatever widget is first has to have the function and the rest do not.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 18th, 2012, 08:05 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Another way to look at this also is you can load any functions outside of any specific widget by creating a global cms plugin in vbulletin which loads all the functions your using and loads anytime the cms is accessed. That is the beauty of the vb plugin system.

That way you can create any widget you want without actually including the functions and create this issue trying to replicate the same thing over and over.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CMS Widget li CSS tavenger5 How Do I? - vBulletin 4.0 4 February 1st, 2011 12:49 PM
Sidebar as a vBulletin 4.x Widget for CMS? DHewes Photopost Pro How Do I...? 3 January 19th, 2010 10:40 AM


All times are GMT -5. The time now is 11:43 AM.

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