The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Put gallery link in posts profiles
I want to put buttons/links in v-bulletin to the user's gallery (and vice versa). How do I do that?
|
#2
|
||||
|
||||
What gallery mod are you using? For Photoplog, try this:
https://vborg.vbsupport.ru/showthread.php?t=166642 |
#3
|
|||
|
|||
Gallery mod? I'm not sure I am using any.
See the buttons on the top right of these posts? How do I get those? They are for "profile, gallery, and send PM".....although I am most interested in the gallery one. |
#4
|
||||
|
||||
They're using Photopost, but you'd use this format for the Photopost gallery link in the post:
Code:
<a href="[link to gallery]/showgallery.php?$session[sessionurl]ppuser=$prepared[userid]"><img src="[location of gallery button]" alt="$prepared[username]'s Gallery" title="Go to $prepared[username]'s gallery" /></a> |
#5
|
|||
|
|||
You can see them in this forum too.
--------------- Added [DATE]1219169955[/DATE] at [TIME]1219169955[/TIME] --------------- Quote:
I have never edited the "postbit," although I have read that word a lot. I have opened up the files in Notepad and edited them before. Is "postbit" one of those files? --------------- Added [DATE]1219170034[/DATE] at [TIME]1219170034[/TIME] --------------- Cool! That Auto-Merged DoublePost ---freaked me out, but I like it! |
#6
|
||||
|
||||
No, go Styles and Templates > Edit Templates > postbit in Admin CP, then find:
Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> Code:
<div> <a href="[link to gallery]/showgallery.php?$session[sessionurl]ppuser=$prepared[userid]"><img src="[location of gallery button]" alt="$prepared[username]'s Gallery" title="Go to $prepared[username]'s gallery" /></a> </div> --------------- Added [DATE]1219170312[/DATE] at [TIME]1219170312[/TIME] --------------- I can also release the button as a modification I think if people want to mimmick that forum. |
#7
|
|||
|
|||
I see it and am following along, but will have to wait until later when I can create my image first to attempt to insert it.
So, the only places in the code which I am changing are "link to gallery" and "location of gallery button" (because the other things in block quotes should remain that way)? What are the codes for the profile and the "send pm"...I might as well add them while I am at it. |
#8
|
||||
|
||||
Yeah, only change the parts which it says to change. As for PM and profile:
Just set this for all three links: Code:
<div> <a href="[link to forum]/member.php?$session[sessionurl]u=$prepared[userid]"><img src="[location of profile image]" alt="$prepared[username]'s Profile" title="Go to $prepared[username]'s Profile" /></a> <a href="[link to gallery]/showgallery.php?$session[sessionurl]ppuser=$prepared[userid]"><img src="[location of gallery button]" alt="$prepared[username]'s Gallery" title="Go to $prepared[username]'s gallery" /></a> <a href="[link to forum]/private.php?$session[sessionurl]do=newpm&u=$prepared[userid]"><img src="[location of PM button]" alt="Send message to $prepared[username]" title="Send private message to $prepared[username]" /></a> </div> |
#9
|
|||
|
|||
Oh, you do not know how excited I am and anxious to get home to make a graphic and get this set up! I've been searching the forums for a while and asked in other forums, but never here. I sure appreciate your help!
While I've got such a helpful person, can you give me one more? Please! Goodness, I feel like I am asking a lot. I would like to have in the same area as the buttons (or on the left side, whichever), the information in a special field I have created for "program used." You can see my ID on this page here. You can see I use Photoshop Elements. I would like the words "Photoshop Elements" showing in the profile area similar to the buttons for each person. This is important to me because my site is to teach digital scrapbooking in PSE, but often get people who pop in asking questions who do not use the program and I need to get someone else to help them. It would be so much nicer to see it in the posts, rather than going to the profile. |
#10
|
||||
|
||||
You mean in posts? If so, I guess something like:
Code:
<if condition="$post[fieldx]"> Program Used: $post[fieldx] </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|