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 Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 14th, 2008, 04:25 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Posts: 28
LogOut Button

Hey all,

I'd like to add a 'logout' button to my menu- is there a specific function that I need to call?

Thanks!
pkilchermann is offline   Reply With Quote
Old May 14th, 2008, 04:42 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Posts: 28
Chuck is going to be proud of me.

I found it. In "pp-inc.php", there is a line that looks like:

if ( $User['userid'] > 0 )
{
if ( VB3_INTEGRATION == "off" )
{
$log = " &middot; <a href=\"{$Globals['maindir']}/misc.php?action=logout\">{$Globals['pp_lang']['logout']}</a>";
}

If you change 'off' to 'on', suddenly you have a logout button in your PhotoPost menubar.



CHA-CHING!

Pat
pkilchermann is offline   Reply With Quote
Old May 14th, 2008, 04:56 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Posts: 28
PS- a log in button works the same way for this code in that same php file:

if ( VB3_INTEGRATION == "on" )
{
$log = "&middot; <a href=\"{$Globals['maindir']}/misc.php?action=login&amp;login=yes\">{$Globals['pp_lang']['login']}</a>";
}



I'm doing this extra stuff because I have it integrated with vBulletin, but I have removed the forum's header/menu bar, and I don't want people to get to the forum.

The 'forum' link is also in there.


Just remember to edit the "registration_complete" phrase in your vBulletin to point back to PhotoPost classifieds and not the vB forum.


Pat
pkilchermann is offline   Reply With Quote
Old May 14th, 2008, 05:54 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Have a good evening buddy.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LogOut Button does not work kkibak Photopost Pro Bug Reports 11 January 25th, 2007 06:55 PM
Cannot Logout haitifm8 Photopost Pro How Do I...? 3 May 13th, 2006 12:33 PM
Logout Error lakerszone Photopost Pro Installation & Upgrades 6 October 15th, 2005 01:18 PM


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

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