PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 8th, 2009, 01:23 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
Place link to images from postbit myself?

Hello,

I would like to change the plugin so I can place (or move) where the code goes in the postbit. Right now I see it uses $template_hook[postbit_userinfo_right_after_posts] With my postbit I can't have it use this haha.

If anyone knows which code I change in the plugin and then what to use in the postbit that would be great!

Thank you in advance!

Kevin
KevinL is offline   Reply With Quote
Old February 8th, 2009, 08:21 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I am not really sure what plugin your talking about. The only vbgallery plugin for a postbit uses the plugin position

postbit_display_complete
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 8th, 2009, 09:32 PM   #3 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
Oh OK...well then how would I be able to place the info in the postbit myself then?

Like I said my postbit is pretty customized and the way it looks now makes no sense. It's piggy backing on something and throwing my postbit off.

Thank you.
KevinL is offline   Reply With Quote
Old February 9th, 2009, 09:23 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Your issue then is in one of your mods or tweaks. You can backup your tweaked postbit and revert to a clean one there and then compare that postbit to the clean reverted one to see any non standard code.. There are quite a bit of lines added to the postbit. But really the only thing vbgallery adds to the forum postbit is one little line on the main post that says images and one line under the username dropdown list that says gallery uploads.

Possibly in postbit template one is this

$template_hook[postbit_user_popup]

That should be the link for gallery uploads in the dropdown in postbit template it comes right after the add to contacts line

The other little number of images link is right on the actual post so which one are you talking about?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; February 9th, 2009 at 09:32 AM.
Chuck S is offline   Reply With Quote
Old February 9th, 2009, 10:06 AM   #5 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
Hello,

No the popup one is fine.

The one that says :

Images: # (then links to the images)

I want to be able to move this to where I want. Like I said it seems to be working off this hook? "$template_hook[postbit_userinfo_right_after_posts]" No?

Thank you,
KevinL is offline   Reply With Quote
Old February 9th, 2009, 10:16 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
$template_hook[postbit_userinfo_right_after_posts]

Well move that line where you wish then is basically all you need to do.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 9th, 2009, 10:35 AM   #7 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
haha I wish it were that easy.

I have something running off that already. When I asked the same question I'm asking you I got no response how to change it. The hooks are very convenient until you want to do something a little custom haha

If I knew a way to change either one myself I would, but I really don't...I just happened to noticed where it is being placed in the postbit. I have run into the problem before with another script (using a different hook) and had to move elsewhere...

Thanks
KevinL is offline   Reply With Quote
Old February 9th, 2009, 11:44 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Its right in the postbit plugin code the vbgallery file thats included and these are the vbgallery templates that control those things.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 9th, 2009, 01:51 PM   #9 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
OK...um yeah that really makes no sense to me haha

I know there are a good 20+ plugins and a whole slew of files..you gave me 2 lines of code. Am I supposed to search all of those plugins and files for those tho lines of code? And then once I find them, what exactly do I do with them?

Is there something in those 2 lines of code that I can change that I can then go into my postbit and put something like $post_vbgallery_images or something?

Thank you..
KevinL is offline   Reply With Quote
Old February 9th, 2009, 03:18 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
You can view those two vbgallery profiles meantioned on those two lines and modify accordingly.

adv_gallery_postbit_images_link

adv_gallery_postbit_gallery_link

I am not really sure what your trying to modify
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 9th, 2009, 04:30 PM   #11 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
heh...

I'm just trying to figure out how to change (?) this
Code:
Content visible to verified customers only.
So I can add say $adv_gallery_postbit_images_link to the template instead of it auto adding it at "$template_hook[postbit_userinfo_right_after_posts]" and it will reflect :

Code:
Content visible to verified customers only.
Or what ever I choose to edit that template.

Does this make sense now? I'm sorry if I'm not making myself clear..
KevinL is offline   Reply With Quote
Old February 9th, 2009, 05:10 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
The template hook merely adds the template code in the proper place. You can choose to move the hook somewhere else or disable the plugin and hard code your own code in. Still not real clear on what your trying to do since that code is merely a div tag included in certain locations so moving those template location calls in the postbit where you want them should be all thats needed.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 10th, 2009, 03:39 PM   #13 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 19
Thank you Chuck I figured it out
KevinL is offline   Reply With Quote
Old February 10th, 2009, 06:24 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Not a problem glad to help.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
register / place ad nav link clasione Classifieds How do I...? 12 January 2nd, 2010 09:03 PM
Photopost link in Postbit informatikboard ReviewPost How do I...? 3 March 20th, 2007 07:24 AM
Is there a way to place latest images in a non-vb page? rbl How Do I? - vBulletin 3.5.X 2 November 8th, 2005 02:40 PM
missing 'place an add' link ATN Classifieds Installation & Upgrades 4 July 15th, 2005 08:05 PM
Images And Link Are not in the right Place ? Bondy Installs and Upgrade - vBulletin 3.0.X 1 January 6th, 2005 06:53 AM


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

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