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)

13th_Disciple 02-06-2004 10:34 PM

Natch - signed up.. me and a couple of friends have an idea for a mod for UT2004 that is named very similar to Mobile Forces.. in fact, i made mention of MF when we first discussed the name.. the name we are considering is Mobile Fortress.. or Mobile Ultra Fortress.. MuF for short.. :D

Andrew - thanks for the answers.. imo, i think comments and ratings would be a good idea.. i guess it depends on the level you are willing to go coding wise as to what you personally would rather incorporate. but i myself would like to see both brought into the hack.. and yeah, i know about a couple other ways to do the upload bit.. but i am looking for something that completely incorporates with vB3.. i know i can use a php based upload util and just do an include in a non vB page.. but it would be ultra smooth to have it pre-made, so to speak, within a hack..

i am very interested in this hack and the development of it because i am in need of a very good script like this.. the way Natch incorporated it is very good.. although instead of a drop down, i think i just may link to a catagories page that will then break everything down from there..

nice site btw, Natch.. and as i said, gonna, maybe, half-ass, steal the name.. even though it ain't outright theivery.. :D

also, Andrew, if there is anything i can do to help you oput with all of this, let me know.. don't mind testing, commenting, critiqueing.. whatever kind of help you need.. as i said, very interested in its development..

and thanks again for the info folks..

Natch 02-08-2004 10:04 AM

For those that use this with vBIndex, I have made a Customblock for "Hottest Links" ie those links with the highest hit count.

Most important upgrade I think this needs is for the linkhits counts to be stored as MEDIUMINT( 8 ), not TEXT ...

[sql]
ALTER TABLE `local_linkslink` CHANGE `linkhits` `linkhits` MEDIUMINT( 8 ) UNSIGNED DEFAULT '0' NOT NULL;
[/sql]

Check it out - https://vborg.vbsupport.ru/showthread.php?t=61311

AndrewD 02-08-2004 05:31 PM

[QUOTE=AndrewD]Release 0.3, February 2004 (0.2 also still available as an attachment)

version 0.3 released. deals also with Natch's table change

13th_Disciple 02-08-2004 07:34 PM

bout to upgrade from 0.2 to 0.3 now.. so all i should need to do is add the xml file thru the admincp, upload the install and local_links.php files, run the install file, and everything should be back to good?

reckon i will find out shortly..

Natch 02-08-2004 10:04 PM

Nice work on the re-release Andrew :)

Natch 02-08-2004 11:29 PM

I ran the upgrade, and found that all the settings have been set to -1, which causes the permissions functions not to work ...

AndrewD 02-09-2004 04:19 AM

Quote:

Originally Posted by Natch
I ran the upgrade, and found that all the settings have been set to -1, which causes the permissions functions not to work ...

Which settings? Do you mean the forum permissions? There is a new entry in the admin table, default_forumid, which you must initialise to the id of the forum which carries the standard viewing permissions to be applied to new links. There is also the setting can_set_permissions, which defines the user groups that can override this setting.

I'm not happy with the way I've written this part of the code - using forum permissions seems the right way to handle things, but I suspect that the default situation should be to give automatic access to all links. What do you think?

Natch 02-09-2004 10:08 AM

Quote:

Originally Posted by AndrewD
Which settings? Do you mean the forum permissions? There is a new entry in the admin table, default_forumid, which you must initialise to the id of the forum which carries the standard viewing permissions to be applied to new links. There is also the setting can_set_permissions, which defines the user groups that can override this setting.

I'm not happy with the way I've written this part of the code - using forum permissions seems the right way to handle things, but I suspect that the default situation should be to give automatic access to all links. What do you think?

When I say all the settings have been set to -1...

By default, after this upgrade, the new setting (default_forumid) is set to -1 - well after running the local_links_install.php, the rest of the entries in the admin table also had the value -1, causing a major failure of the Admin script - so much so that the admin page now looks like this - (screenshot attached) ...

Any suggestions ?

AndrewD 02-09-2004 10:15 AM

Quote:

Originally Posted by Natch
When I say all the settings have been set to -1...

By default, after this upgrade, the new setting (default_forumid) is set to -1 - well after running the local_links_install.php, the rest of the entries in the admin table also had the value -1, causing a major failure of the Admin script - so much so that the admin page now looks like this - (screenshot attached) ...

Any suggestions ?

No idea - this has not happened to me and I ran several test installations and upgrades on different sites before releasing the code.

Please send me a backup of the database table local_linksadmin so that I can see what is happening.

Natch 02-09-2004 10:25 AM

Email on it's way...


All times are GMT. The time now is 11:02 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.02441 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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