PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Profile Link to vb (http://www.photopost.com/forum/classifieds-how-do-i/142575-profile-link-vbulletin.html)

jimsflies April 4th, 2010 08:17 PM

Profile Link to vb
 
I want the profile links in pp to link to the vb profiles. How/where do change it to link over to the vb profiles?

Chuck S April 4th, 2010 09:23 PM

You really can not do this without modifying all the profile links to do this through code modification. There is no native ability to do this in the program.

ndahiya April 4th, 2010 11:46 PM

is there a variable that refers to the username or the userid for a particular ad (as they are shared with vb, we can construct the link manually)?
tia.

ndahiya

Chuck S April 5th, 2010 12:58 AM

Not really how you are thinking. Many files have a call to a profile link so the variables for user may be different.

You would need to edit most files and search for member.php

jimsflies April 5th, 2010 09:50 AM

The only difference I see is the directory path. if I replace /classifieds/member.php with /forum/member.php in the browser it takes me to the vb profile page. I'm not sure how to specify this in the code though. I've manually removed the profile link from everywhere except showproduct.php. So I think I only have one or two places to make the change.

I'm guessing it is in ib3.php?
Code:

Content visible to verified customers only.
Seems like globals[vbulletin] would take me to the forum, but instead it seems to point to the classifieds directory.

Chuck S April 5th, 2010 09:54 AM

Not really

The profile links are throughout the files and look similar to this

Code:

Content visible to verified customers only.
The profile links your referring to is the forum profile link on a comment.

Chuck S April 5th, 2010 09:54 AM

Not really

The profile links are throughout the files and look similar to this

Code:

Content visible to verified customers only.
The profile links your referring to is the forum profile link on a comment.

jimsflies April 5th, 2010 11:32 AM

So I tried to put this in replace the above code you mentioned with:

Code:

Content visible to verified customers only.
But it ends up giving me a link that looks like this:
Code:

Content visible to verified customers only.
Any tip on how to get it to not have the extra url in front of the link?

Chuck S April 5th, 2010 11:34 AM

You cant you need to remove the whole construct url thing and use a hard coded url to your forum.

jimsflies April 5th, 2010 11:37 AM

never mind. I got it! Thanks.

Chuck S April 5th, 2010 12:11 PM

Yep as long as you use the proper variables and make hard links to your forum it should work but there are lots of profile links. we use a function but thats how we construct the regular or seo urls etc

ndahiya April 6th, 2010 10:20 PM

Quote:

Originally Posted by Chuck S (Post 1266102)
Not really how you are thinking. Many files have a call to a profile link so the variables for user may be different.

You would need to edit most files and search for member.php

understood.

but is userid or username defined as a global variable within the classifieds app (that can be accessed from a template)?

Chuck S April 7th, 2010 09:30 AM

The users username and userid viewing the page sure just like in vb however if your looking to change profile links for links on ads on catlists etc each script has specific variables defined in that script for those links as noted in the example line I gave.

ndahiya April 11th, 2010 09:43 AM

Quote:

Originally Posted by Chuck S (Post 1266214)
The users username and userid viewing the page sure just like in vb however if your looking to change profile links for links on ads on catlists etc each script has specific variables defined in that script for those links as noted in the example line I gave.

i am just looking to provide one link (on the profile page, maybe) that links to the forum profile, not redo every link.

Chuck S April 11th, 2010 10:02 AM

On the classifieds profile statistics page we provide a link to the users forum profile ;)

chrisstinson April 25th, 2010 12:17 AM

This code will return the vbulletin profile.

Replace:

Code:

Content visible to verified customers only.
With:

Code:

Content visible to verified customers only.

Chuck S April 25th, 2010 09:49 AM

yeah it should


All times are GMT -5. The time now is 12:16 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97