 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
March 16th, 2010, 12:21 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
| vb4 postbit link
is there a way to add a link in a users postbit to their photopost gallery? I found a mod but it wont accept the url in the correct way (ie i can link to the main photopost gallery but not a specific users.
mysite.com/photopost?u= (mod adds user id number on the end
but to get to a specific photopost gallery requires a url like this:
mysite.com/photopost/u1-username.html am i correct?
the only other info i can find is for older vbulletin versions!
|
| |
March 16th, 2010, 12:59 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
yes the variables depend on what vb defines them as like I know in the old vb3 it was I think $postbit[userid] and $postbit[username] maybe. So whatever link you place in your postbit will work as long as you create the url filled in where the 1 is to the users userid in vb and username is the username.
I dont know what the variables are for vb4 never have hacked anything in the postbit personally
|
| |
March 16th, 2010, 01:02 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
try Code: Content visible to verified customers only.
|
| |
March 16th, 2010, 01:47 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
cheers chuck but it throws this up:
The requested URL /photopost/u{ vb:raw post.userid}-{ vb:raw post.username}.html1 was not found on this server.
changing it to this:
http://www.mysite.com/photopost/?u={ vb:raw%20post.userid}-{ vb:raw%20post.username}.html1
takes me to the main gallery page but not the personal one.
maybe its just something that aint do-able!
Last edited by wampforum; March 16th, 2010 at 01:57 PM.
|
| |
March 16th, 2010, 02:16 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
what I posted should work if we are talking about the postbit template
|
| |
March 16th, 2010, 02:25 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
like I said I have never tried it but its all about using the proper code in the proper template for instance it is memberinfo not post and the template is memberinfo_dropdown Code: Content visible to verified customers only.
|
| |
March 16th, 2010, 02:57 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
no it was the postbit I wanted (though the member info ones handy too - still cant get that one to work though bringing up the same error
|
| |
March 16th, 2010, 04:19 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I think you misunderstand here Left view
The memberinfo_dropdown template is the one that drops down on the postbit in vb4  it indeed works as I posted
|
| |
March 17th, 2010, 03:34 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
ah right I gotcha. I wanted to add the link in the section below where each users reputation,avatar,post count etc sit.
Anyway no matter where I put it I cant get this damn link to work - its beyond me!
thanks for trying anyway Chuck
|
| |
March 17th, 2010, 04:54 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
well as long as you use the proper variables it should work
http://www.yoursite.com/photopost/u{ vb:raw post.userid}-{ vb:raw post.username}.html
that is the proper format for the postbit template as posted
|
| |
March 17th, 2010, 06:05 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
yeah I imagine its me not understanding it right to be honest.
no matter how i put this link:
http://www.yoursite.com/photopost/u{ vb:raw post.userid}-{ vb:raw post.username}.html
its bringing up the error - am i just changing the url and nothing else?
|
| |
March 17th, 2010, 07:56 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
works fine in postbit Code: Content visible to verified customers only.
|
| |
March 17th, 2010, 09:44 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
ah thats got it working. now just need to get it in the right place
thanks Chuck for sticking with me!!
|
| |
March 17th, 2010, 11:26 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
yeah I mean the variables are pretty absolute which is why I did not know why yours did not work
|
| |
March 17th, 2010, 11:38 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
to be honest probably me putting it in the wrong place or something!
|
| |
March 17th, 2010, 11:48 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
well enjoy
|
| | |
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 12:53 AM. | |