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)

Jaynesh 01-03-2006 08:49 AM

In my photoplog guests cant see the pictures...
how do i make it so they can see all uploaded pictures, ive checked the permission, but still not working...

lasor 01-03-2006 10:22 AM

Quote:

Originally Posted by calorie
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>


Where in these templates is the best place to add the above?

Thanks

BlasterT3 01-03-2006 10:47 AM

hey calorie,

this is somthing i would really like, but all i get is the login of death. i checked all my settings for spelling errors.

http://teletran3.net/forums/photoplog

thanks!

harry1951 01-03-2006 11:32 AM

Hey calorie or somebody else who can help me :)

I followed the instructions in the readme but the only thing I get is a white page without content. No errors nothing at all....

http://test.cuma.nl/photoplog/index.php

Marris 01-03-2006 04:51 PM

Thanks for the great work on this addon.

In this Lite version, is there any way to set upload permissions for a specific category based on user groups? As far as I can tell, the existing permissions settings apply across all Photoplog categories.

I would like to make one category that has uploading permissions restricted to a certain usergroup. All other categories would be open to all usergroups.

Is there a file edit or database entry I can make to set restrict uploads for one specific existing category?

If not, is there a simple way to hide the restricted category from all groups but one with a conditional in the category pulldown options on the upload page?

calorie 01-03-2006 08:18 PM

@ConKien: http://www.domain.com/forum is prepended to relative links, after removing any dupe dir, but if this makes an incorrect link, try setting the absolute link. The $navbar is set in functions.php and uses the vB navbar.

@furst: in settings.php you could try and set $photoplog_location to whatever link you'd like.

@Jaynesh: guests need 'can view files' permissions, try: admincp/index.php?do=buildbitfields

@lasor: place the anchor tags wherever you'd like the links to appear.

@BlasterT3: check the PhotoPlog permissions in the usergroup manager.

@harry1951: check that the config file full path to forum setting is correct.

@Marris: the lite version doesn't have category based permission levels. The photoplog_list_categories function makes the category list if you want to try and edit there.

Marris 01-04-2006 12:47 AM

Quote:

Originally Posted by calorie
@Marris: the lite version doesn't have category based permission levels. The photoplog_list_categories function makes the category list if you want to try and edit there.

I poked around there a bit without getting too far, then I came up with a quick and dirty solution.

I edited photoplog_upload_form and photoplog_edit_form templates:

Code:

// replaced
$photoplog_select_row

// with:

<if condition="is_member_of($bbuserinfo, 12)">
$photoplog_select_row
<else />
<tr valign="top">
        <td class="alt2">Category</td>
        <td class="alt2"><select name="userfileinfo[catid]" id="sel_userfileinfo[catid]" tabindex="1" class="">
                <option value="1" selected="selected"> General </option>
</select>
</td>
</tr>
</if>

This makes it so only members of usergroup 12 will be able to upload to all categories, while all other members will only be able to upload to 'General' (category 1). Of course, you can add more groups and category options.

iTaLiAnBoY165 01-04-2006 03:03 AM

i know this may sound stupid but can some one help me
i can't figout how to fix this i try to do it my sefl acoupkle times
but nothing seems to be working for me..

i keep getthing the same error allover and over,....

how can i fix thins step by step.!!

please.!!!
[*] Onscreen Error
Code:

Sorry, UserName: Bad Open
It means that PhotoPlog cannot fopen the 'images' directory. Check for 777, write and ownership permissions on the 'images' directory.

harry1951 01-04-2006 12:39 PM

Quote:

Originally Posted by calorie
@harry1951: check that the config file full path to forum setting is correct.

The full path in the config file is set correctly.
Code:

/var/www/vhosts/test.cuma.nl/httpdocs/forums

Gizmo5h1t3 01-04-2006 03:43 PM

im desperate for help here...
the actual gallery itself works a treat...all uploads etc working fine...

but my forum border is totally goosed on the gallery page...

all my other hacks display the border correctly.....except for the photoplog hack...

weird..

any help at all??


All times are GMT. The time now is 06:19 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.05193 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
  • (5)bbcode_code_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