vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Links Directory 2.0 *NEW VERSION* (https://vborg.vbsupport.ru/showthread.php?t=44551)

DrkFusion 10-13-2002 12:02 AM

Quote:

Originally posted by Smoothie
Are links admin approved before they are added to the database and displayed?
No, but through the View ALL Links feature, you are able to view all the links in all the catagories, and you may edit them accordingly, ones that are not catagorized are listed as well.

I have added that to replace the link moderation.

More features are yet to come.

Arunan

DrkFusion 10-13-2002 02:03 AM

File has been updated, minor changes, I would suggest you download the new zip, and replace the weblinksadmin.php with the new one.

Thanks
-Arunan

refertech 10-13-2002 02:10 AM

Great idea. Could i use this for my download links on my site? But im also assuming that anyone can add links thou?

Mark

MarkB 10-13-2002 09:31 AM

Cool :) I'm going to add some of my own features to it (search, hit count, admin approval) today.

Oh, if you want your links to be ordered A-Z, then change (in links.php) the following:

Code:

$asb = $DB_site->query("SELECT * FROM gportal_weblinkslink WHERE catagoryid=$catid")
on line 23 to:

Code:

$asb = $DB_site->query("SELECT * FROM gportal_weblinkslink WHERE catagoryid=$catid ORDER BY linkname");
Great hack!

Chris M 10-13-2002 10:16 AM

@Mark - Be sure to post your mods in here!:D

Satan

MarkB 10-13-2002 10:18 AM

Search and hit counter is done :) Admin approval should almost be done...

Chris M 10-13-2002 10:42 AM

Cool:)

Satan

MarkB 10-13-2002 10:45 AM

Ok - admin approval is done now, too... I had a links directory hack of my own which was almost done, but buggy - so I've managed to salvage some code to expand this hack :)

I'll only make these mods public if the creator of this hack approves, though...

What they do:

Search -- self explanatory :)

Hit counter -- when a user clicks a link, they go via a redirect page which increases a hit counter in the links db, and as such displays the new total in the linkbit

Validation -- when a user submits a link, it is not displayed until the admin moderates it. admin can moderate link title, url, description, and even delete the link if he wishes.

Sound good?

Chris M 10-13-2002 11:13 AM

Yeh...It does:)

Have you tested it?

Satan

MarkB 10-13-2002 11:20 AM

Yep, have it running on my site now :) We only have 4 links though, so the search needs to be a word you KNOW is there LOL

Search example: go here and search for "opeth"

http://www.ultimatemetal.com/forum/linksearch.php

Click the resulting link to see how the hit/jump works.

I'll attach a screenshot of the validation page to this post :)


All times are GMT. The time now is 06:12 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.01473 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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