vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

AndrewD 02-14-2005 10:34 AM

Quote:

Originally Posted by Zain Jaffer
Unfortunately that didn't work :(

What didn't work?

AndrewD 02-14-2005 06:10 PM

Post withdrawn

UManiac 02-14-2005 07:32 PM

Thanks Andrew!

I updated from 1.41 to 1.51 an now I have two minor problems when administering links I was hoping you could help me with...

1. When I click on Administer on the links page the browser just reloads the page - the address cycles through and sets the "action" to links

To try and resolve that I simply changed the link on the head template to point to "local_links_admin.php" which it does. However, none of the changes I make (like path to icon directory, or group permissions) ever take hold. Any ideas?

Thanks in advance!

Zain Jaffer 02-14-2005 10:38 PM

Quote:

Originally Posted by AndrewD

v1.55 has the following features/fixes not in 1.51: .....

- strip out bbcodes in category names when constructing navbar (Zain Jaffer didn't think his bbcodes look too good there...)

Hey Andrew, I just upgraded!

How do I enable this option?

Secondly, I'm pretty sure this already exits, just that i'm not seeing it ... how do I set permissions for one usergroup to view a particular section. For example, the downloads section should only be accessed by "registered users" or "any usegroup" I choose?

Thanks, a lot Andrew for your hard work!!! :laugh:

AndrewD 02-15-2005 04:06 AM

Quote:

Originally Posted by UManiac
Thanks Andrew!

I updated from 1.41 to 1.51 an now I have two minor problems when administering links I was hoping you could help me with...

1. When I click on Administer on the links page the browser just reloads the page - the address cycles through and sets the "action" to links

To try and resolve that I simply changed the link on the head template to point to "local_links_admin.php" which it does. However, none of the changes I make (like path to icon directory, or group permissions) ever take hold. Any ideas?

Thanks in advance!

Yes, I'm sorry about that - its seems you are the first person (apart from me!!) to notice that little bug in 1.51 and 1.52. I split the admin code into sections and screwed something up in the process. Just upgrade to 1.55, see post just above yours, and the admin settings should stick again.

AndrewD 02-15-2005 04:14 AM

Quote:

Originally Posted by Zain Jaffer
Hey Andrew, I just upgraded!

How do I enable this option?

Secondly, I'm pretty sure this already exits, just that i'm not seeing it ... how do I set permissions for one usergroup to view a particular section. For example, the downloads section should only be accessed by "registered users" or "any usegroup" I choose?

Thanks, a lot Andrew for your hard work!!! :laugh:

Zain, either I'm not understanding your problem, or your problem is already fixed. I thought that what you didn't like was that the text of your bbcode appeared in the navigation bar, and version 1.55 has removed that.

For setting usergroup permissions, you do the following:
a) Either select a forum that already has the viewing permissions that you want to use, or create such a forum on your main board (you can hide it if necessary) and (using the main VB admin page) give that the permissions you want to apply to your downloads category
b) Go into your links admin page and make sure you've given yourself can_set_permissions privilege
c) Edit the category that you want to restrict and associate it with the forum in a)

If you only want to restrict some of the links in the category, you can simply edit those and set their associated forum.

Zain Jaffer 02-15-2005 08:33 AM

Hi Andrew, in regard to the last question ... I want all usegroups to be able to view the page, but not download it unless I choose which usegroups.

In regards to the first problem, I think I didn't make it very clear:

The actual thumbnail itself shows where I don't want it to show... for example on here: http://www.juicyduff.com/forum/local...=links&catid=2 (beside "avatars")... I only want the image to show on the main page.

But, thanks a lot for solving the other problem (image url appears in the nav menu!) !

lol .. i'm sorry if I ask too much! :(

UManiac 02-15-2005 03:18 PM

Quote:

Originally Posted by AndrewD
Yes, I'm sorry about that - its seems you are the first person (apart from me!!) to notice that little bug in 1.51 and 1.52. I split the admin code into sections and screwed something up in the process. Just upgrade to 1.55, see post just above yours, and the admin settings should stick again.

Thanks Andrew. problem fixed - I noticed all the new features :)

I very much appreciate your time and effort in providing us with this valuable resource!

AndrewD 02-15-2005 04:33 PM

Quote:

Originally Posted by Zain Jaffer
Hi Andrew, in regard to the last question ... I want all usegroups to be able to view the page, but not download it unless I choose which usegroups.

In regards to the first problem, I think I didn't make it very clear:

The actual thumbnail itself shows where I don't want it to show... for example on here: http://www.juicyduff.com/forum/local...=links&catid=2 (beside "avatars")... I only want the image to show on the main page.

But, thanks a lot for solving the other problem (image url appears in the nav menu!) !

lol .. i'm sorry if I ask too much! :(

Zain, I tried to explain in a previous post how to do what you want to do. You have to edit the links_main template and play around with the $viewcatname, $viewcatdesc and $viewcattext variables, which hold the category name + contents of the brief and extended category descriptions. For example, when you set up your category entry, do what you are already doing with the category name, but (e.g.) use the extended description to hold just the title without the img tag. Then kill the line
Code:

<td class="tcat" align="center"><strong>$viewcatname</strong>
in the links_main template.

As far as your permission question goes, I think you've changed your question! You achieve this as follows:
a) on the links admin page, set can_see_protected_links_on_portal permission for those usergroups that you want to be able to see but not download files.
b) for the links that you want this to apply to, associate them with a VB forum that you protect as I explained in my previous post.

Catch-22|BL 02-16-2005 08:39 AM

Thanks but the discussed circumstances have changed. Congratulations on a very good hack and thanks for your work. :)

Quote:

Originally Posted by AndrewD
Not a stupid question. Currently, there is no distinction between moderators of different categories - either you can moderate (i.e. everything) or you can't (i.e. nothing). It would not be very difficult to change this in the way you suggest (i.e so that moderation was also linked to the category forum) - how big a deal is this to anyone?



All times are GMT. The time now is 09:25 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.02144 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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