vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Link for Photopost in Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=111812)

TOZ 03-30-2006 10:00 PM

Link for Photopost in Postbit Legacy
 
Ad a link to your member`s gallery on the postbit legacy.

Photopost 5.21:
Posbit Legacy Members Gallery Link:
Style manager / postbit_legacy
*********************************
Find:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
*********************************
On top of that Copy This:
PHP Code:

<a href="http://www.yoursite.com/forum/photopostdirectory/showgallery.php?$session[sessionurl]ppuser=$post[userid]&cat=500">Member`s Gallery</a>
 
<if condition="
$post['field2']"><div>$vbphrase[location_perm]$post[field2]</div></if> 

Edit with your photopost directory path.

Good Luck
Danny

PabloAM 03-31-2006 05:33 PM

Photopost o photoglop???

Smike 04-01-2006 10:12 AM

I seach the same for coppermine, somebody have a idea?

banuchi2 04-01-2006 11:45 AM

Quote:

Originally Posted by mini2
Your modification is asuming they have a gallery though.

What I did was run a scheduled task checking the userid's in the photopost gallery. Then I ran a query to update a non-editable (hidden) single-selection radio button field to "Yes" (if it wasn't set as "Yes" already).

Then, based on the value of that custom field (field61 in my case) I would chose to show (or not) the link to their gallery.

I can share the files/code if anyone wants it?


Mini2,
I would greatly appreciate if you could share that code with me. Thank you.

-Mike

Rich 04-01-2006 12:07 PM

Hello,

Sure thing mini2. Add it to your next post!

CSS59 04-27-2006 04:27 AM

how do I do this for photopost VBA Gallery?

patrickstar 08-15-2006 10:24 PM

is there a clickable image icon in the postbit? and each members gallery will be linked to it?

patrickstar 08-16-2006 11:08 PM

works great. thanks.

hotrodbiker 03-10-2010 05:19 PM

Still works for 3.8.4, sometimes simple is the best.

Ophelia 08-21-2012 01:15 PM

Does anyone know a way of doing this today? I'm sure it's relatively easy to link to the persons gallery, I just can't figure out how.


All times are GMT. The time now is 08:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01151 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete