vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

calorie 01-05-2006 04:55 PM

Thanks for the thanks. :)

@harry1951: globalize $navbar2 in the photoplog_output_error and photoplog_output_page functions, located in PhotoPlog's functions.php file:
Code:

global $navbar2;

harry1951 01-05-2006 08:40 PM

Quote:

Originally Posted by calorie
Thanks for the thanks. :)

@harry1951: globalize $navbar2 in the photoplog_output_error and photoplog_output_page functions, located in PhotoPlog's functions.php file:
Code:

global $navbar2;

This fixed it :)
Thnx for the support

I don't know if it is asked earlier. It would be great if usergroups could be assigned per category. I need that very strongly. We organize events. Every event get's is own usergroup and forum. On the event a lot of people are taking pictures and want to share these, but only with people who were present at the event. So for every event I want to create an catagory (or child-catagory), which is only visible for participants. Can this be done???

silurius 01-05-2006 08:50 PM

Quote:

Originally Posted by harry1951
I don't know if it is asked earlier. It would be great if usergroups could be assigned per category. I need that very strongly. We organize events. Every event get's is own usergroup and forum. On the event a lot of people are taking pictures and want to share these, but only with people who were present at the event. So for every event I want to create an catagory (or child-catagory), which is only visible for participants. Can this be done???

PhotoPost Pro can do the usergroup thing, although I'm not sure about events. I'd personally love to see the feature here though.

MrNase 01-05-2006 09:00 PM

Update went without problems..

One small thing: I couldn't revert the old templates so I left them and just installed the new plugin file and it worked.
The documentation tells to revert the template but it's also working the way I did it :)

harry1951 01-05-2006 09:06 PM

Silurius, what would live be easy for webmasters if hacks could be integrated :)...In my situation it would be great if it goes as follows. Event created - forum created -secundairy usergroup created- attendance subbcription - photoplog catagory created. Only attendees (members of secondary usergroup)are allowed to see forum and photo-category. I think it will be a dream :)

harry1951 01-06-2006 06:46 AM

Quote:

Originally Posted by calorie
[b]Use the following to add a link to a user's PhotoPlog gallery in the vB postbit(_legacy) template:
Code:

<!-- change the text in capitals to your site information -->

<a href="http://www.YOUR-DOMAIN.com/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$post[userid]">Gallery</a>

Use the following to add a link to a user's PhotoPlog gallery in the vB MEMBERINFO template:
Code:

<!-- change the text in capitals to your site information -->

<a href="http://www.YOUR-DOMAIN.com/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$userinfo[userid]">Gallery</a>


Can you tell me where to put this in the templates. I'm not a coder. Something like find .... put after this

calorie 01-06-2006 10:09 PM

There is no absolute spot to places such things, just place the anchor tags wherever you'd like the links to appear.

harry1951 01-06-2006 10:16 PM

Do a for exemple...

Code Monkey 01-06-2006 10:43 PM

You can get rid of that whole config.php script and the user edit that comes with it.

Find in settings.php

PHP Code:

// ######################## GRAB THE FULL PATH ############################
require_once('./config.php'); 


replace with

PHP Code:

// ######################## GRAB THE FULL PATH ############################
define('PHOTOPLOG_FWD'dirname(dirname(__FILE__))); 


calorie 01-06-2006 11:06 PM

That'll only work if PhotoPlog is installed one level inside the forum directory. It won't find the forum directory for when PhotoPlog is installed elsewhere, i.e., it's not a general solution.


All times are GMT. The time now is 12:43 AM.

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.02393 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete