 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
April 4th, 2010, 08:17 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Oct 2009
Posts: 67
| 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?
|
| |
April 4th, 2010, 09:23 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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.
|
| |
April 4th, 2010, 11:46 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2010
Posts: 29
|
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
|
| |
April 5th, 2010, 12:58 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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
|
| |
April 5th, 2010, 09:50 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Oct 2009
Posts: 67
|
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.
|
| |
April 5th, 2010, 09:54 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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.
|
| |
April 5th, 2010, 09:54 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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.
|
| |
April 5th, 2010, 11:32 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Oct 2009
Posts: 67
|
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?
|
| |
April 5th, 2010, 11:34 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
You cant you need to remove the whole construct url thing and use a hard coded url to your forum.
|
| |
April 5th, 2010, 11:37 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Oct 2009
Posts: 67
|
never mind. I got it! Thanks.
|
| |
April 5th, 2010, 12:11 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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
|
| |
April 6th, 2010, 10:20 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2010
Posts: 29
| Quote:
Originally Posted by Chuck S 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)?
|
| |
April 7th, 2010, 09:30 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
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.
|
| |
April 11th, 2010, 09:43 AM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2010
Posts: 29
| Quote:
Originally Posted by Chuck S 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.
|
| |
April 11th, 2010, 10:02 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
On the classifieds profile statistics page we provide a link to the users forum profile |
| |
April 25th, 2010, 12:17 AM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2006
Posts: 22
|
This code will return the vbulletin profile.
Replace: Code: Content visible to verified customers only.
With: Code: Content visible to verified customers only.
|
| |
April 25th, 2010, 09:49 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
yeah it should
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:38 AM. | |