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 December 26th, 2006, 10:47 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Posts: 47
Quick header-inc question

I customized the header-inc.php file quite extensively and have only recently added another navigation on it which better matches the site.

I've gone into pp-inc.php and see how you draw out $menu and $menu2, the problem is I cannot get the UID on my new navigation URLS.

Example: You use {$User['userid']} to call the ppuser or any user ID for that matter. Normally I can use the VBulletin equivalent $bbuserinfo[userid].

In my header-inc i have a whole graphical navigation which I need to get these dynamic user ID's on ...

Which way do i do it?

I've tried these..

1.) showcat.php?cat=500&ppuser=$bbuserinfo[userid]

or

2.) showcat.php?cat=500&ppuser={$User['userid']}

But neither actually render out the user ID on those urls after ppuser=


I need to find out how to call the USER ID of the person so I can complete my nav. Everything else is fine, this is really only for "My ads" and "Profile" links.

If you can clue me in on which vars to use, and where, to get this working I would greatly appreciate it!
dead7 is offline   Reply With Quote
Old December 26th, 2006, 01:14 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
The vb variable should work it all depends on your code. Since I dont know where how and what your doing where I can not really respond more
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 26th, 2006, 01:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Posts: 47
Here is what I have in the html output portions of header-inc.php.

Quote:
<div id="classifiednav">
<ul id="classifiednavList">
<li id="classifiednavHome"><a href="/classifieds"></a></li>
<li id="classifiednavPostAd"><a href="uploadproduct.php"></a></li>
<li id="classifiednavMyAds"><a href="/classifieds/showcat.php?cat=500&ppuser=$bbuserinfo[userid]"></a></li>
<li id="classifiednavMyWatchList"><a href="showcat.php?cat=fav"></a></li>
<li id="classifiednavSearch"><a href="/classifieds/search.php?cat="></a></li>
<li id="classifiednavMemList"><a href=""></a></li>
<li id="classifiednavProfile"><a href="/classifieds/member.php?uid=$bbuserinfo[userid]"></a></li>
</ul>
</div>
Basically you can see in the bold instances of My Ads and the last instance which is Profile you'll see I have the typical VB type code to call the user ID. This same type of code works everywhere throughout the entire site, just not in the classifieds header..

Does this help further? Let me know if you need more information.
dead7 is offline   Reply With Quote
Old December 26th, 2006, 07:41 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
That code is only valid for vbulletin 3.0 series

vbulletin 3.5/3.6 uses $vbulletin->userinfo[userid]
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 26th, 2006, 10:03 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Posts: 47
Well, help me out here

I just did it again using the following in the URLS above.. still nothing :/

ppuser=$vbulletin->userinfo[userid]
or
ppuser=$userinfo[userid]
dead7 is offline   Reply With Quote
Old December 27th, 2006, 09:10 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Okay and have you followed the header-inc.php file maybe use $vbuserid?

It also depends where your calling this html cause realize it needs to be below after a user is authenticated or its meaningless.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 27th, 2006, 10:00 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Posts: 47
Yeah it was in the right spot, but just needed $vbuserid, that worked.

Regards
dead7 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
Quick Question. shakes Photopost Pro Installation & Upgrades 4 August 28th, 2006 08:47 AM
quick question patrickstar Photopost Pro How Do I...? 4 July 18th, 2006 06:58 PM
Quick Question thejaxx Before You Buy 1 June 4th, 2005 06:13 PM
quick question re. gallery Miss Before You Buy 2 March 5th, 2005 09:22 AM
Quick question DoKOK Before You Buy 4 February 17th, 2005 12:37 AM


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

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