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 09-03-2005 06:05 AM

Quote:

Originally Posted by bhxtyrant
HEy again i seem to have gotten it working.It's kinda weird though.I went into the admi panel for Links databae and set the default permissions mask to a forum that is only accessable by admins but it didn't work.So i decided to manually edit my 5 main catagories which contains all the files one by one and set there permission mask to the same forum and it works fine.Perhaps some sort of unseen bug with the admin panel?

Also since the other dude hasnt replied as of yet think you could answer my question in my previous post about changing "links database" in the breadcrumb to "Downloads"?

Now I understand...

If you use the admincp to change the 'default forum' *after* you have created links/categories, the permissions for those that already exist do not get reset automatically. You can change them one at a time as you did, or you can go to the admin/categories page, where there is a feature to mass edit the access permissions. The documentation explains this, but I realise that it is probably not what people expect.

Concerning changing the title in the breadcrumb, this feature is available in the VB3.5 version of this hack. I've stopped updating this VB3.0.x code (unless there are serious bugs) - it's too much work to keep the two versions in sync - I'll add the 'default forum perms' to the 'to do' list.

Tradjick 09-04-2005 06:50 PM

Quote:

Originally Posted by bhxtyrant
Also since the other dude hasnt replied as of yet think you could answer my question in my previous post about changing "links database" in the breadcrumb to "Downloads"?

It?s in your phrases. Have a look for either "ll_menu_home" or "ll_links_database".

Andrew, as you haven?t replied, i guess it must be quite difficult to do those changes in showthread. I? ll give it a try myself then...

AndrewD 09-05-2005 04:12 AM

Quote:

Originally Posted by Tradjick
It?s in your phrases. Have a look for either "ll_menu_home" or "ll_links_database".

Andrew, as you haven?t replied, i guess it must be quite difficult to do those changes in showthread. I? ll give it a try myself then...

Tradjik, sorry that I didn't reply.

My time has been given to producing the VB35 version of this code - it has been quite an exercise to make sure that everything works properly - the VB people have written quite a bit of the interface.

This means also that the changes that interest you in showthread will probably be coded in a different way, e.g. as a plugin rather than code change. It may be worthwhile waiting for VB35 to go gold.

Tradjick 09-05-2005 02:53 PM

Quote:

Originally Posted by AndrewD
Tradjik, sorry that I didn't reply.

My time has been given to producing the VB35 version of this code - it has been quite an exercise to make sure that everything works properly - the VB people have written quite a bit of the interface.

This means also that the changes that interest you in showthread will probably be coded in a different way, e.g. as a plugin rather than code change. It may be worthwhile waiting for VB35 to go gold.

When the system changes so much, i won?t mess around with it yet as vB Gold will be relased in the near future.

Thanks for keeping me informed.

bhxtyrant 09-08-2005 12:41 AM

Quote:

Originally Posted by Tradjick
It?s in your phrases. Have a look for either "ll_menu_home" or "ll_links_database".

Andrew, as you haven?t replied, i guess it must be quite difficult to do those changes in showthread. I? ll give it a try myself then...

Hey man,thanks for the reply,I gave your suggestion a try but it doesnt seem to work.I changed the phrase for "ll_links_database" which was originally called "Links Database" to "Downloads" but it still shows up as "links database" i even deleted the phrase file completely and uploaded the new modified version and still the same.

digitalSite 09-15-2005 02:44 AM

I have created subcategories of all 50 states...I would like to copy (or export) these subcategories under another top-level category...is there a way to do this? I would hate to enter all 50 states again manually.

I tried exporting the file and then importing it, but it doesn't look like I can select a top-level category and import in that way.

Any help is greatly appreciated. Thank you.

AndrewD 09-15-2005 04:19 AM

Quote:

Originally Posted by digitalSite
I have created subcategories of all 50 states...I would like to copy (or export) these subcategories under another top-level category...is there a way to do this? I would hate to enter all 50 states again manually.

I tried exporting the file and then importing it, but it doesn't look like I can select a top-level category and import in that way.

Any help is greatly appreciated. Thank you.

There is no 'mass copy' command available for categories (it is 'copy' you want, not 'move'?), but I'm sure there is an easy way to do this. Let me think about it and get back to you soon.

digitalSite 09-15-2005 12:36 PM

That's correct, I would like to copy 50 subcategories from Top-level category #1 to Top-level category #2. Thanks :)

AndrewD 09-15-2005 02:14 PM

Quote:

Originally Posted by digitalSite
That's correct, I would like to copy 50 subcategories from Top-level category #1 to Top-level category #2. Thanks :)

Here you are. Edit lines 27 and 28 of this script to hold the category ids to copy FROM and TO. Upload and run. It will clone all categories that are children of the FROM into TO, leaving the new ones empty.

Probably a good idea to back up your database first. ;) Let me know that it works.

Also a good idea to delete the script when you've run it - otherwise your friendly hackers may decide to keep cloning things for you.

Andrew

digitalSite 09-16-2005 01:58 AM

Excellent!!!! Worked Like A Charm!!! Thank You!!! :D

(Was wondering...is there a way to import 50 or so links into specific categories? I have about 237 links - half go in one top-level category, and the rest in the other...I really don't know how else to do it but to manually enter each. If you have a soltuion for this I would REALLY appreciate it! THANKS!)


All times are GMT. The time now is 03:54 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.01878 seconds
  • Memory Usage 1,750KB
  • 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
  • (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