Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by the_sisko the_sisko is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-31-2001 Last Update: Never Installs: 38
 
No support by the author.

UPDATE!!! NEW DOWNLOADFILE | 02. April 2001
Release vB Links 1.0

So here it is, the final version of my link hack is available to download.
Here are some features for this version:
  • showing links with the following information: Name, URL, Email, Banner, Banner ALT Text, Description, Forumlink, Hitcounter (outgoing), Categories
  • main page shows all links, but you can: a:sort by category and b:search for a site
  • registrated user can add new links, but admin or mod must confirm the links in the CP
  • an email is sent to you when there is a new link to approve
  • Links can be ordered over pages. Limit for links per page can be set
  • outgoing links will be redirect over a redirect page with information that you're leaving the forum...and outgoing counter will be set plus 1
  • Category is show on each link
  • CP: you can easy add new site on your own or edit a site
  • CP:can add or edit categories
  • CP: Categories can be reordered
  • CP:confirm and edit new sites
  • CP:upload banners to let them load faster
More:
There are about 13 new templates and 2 new tables on the database which will be created over an easy installscript.

How to install?
Just download the attached file and unzip it, then open install.txt and follow the instructions. Need any help or find any bugs, please report them here. And don't hate me for the code, I tried my best!

Future:
As I like my script and need it anyway, there will be a next version of it, with more features. Some of the following features I am working on:
  • New startpage with a overview of all categories and the ability to add subcategories as well
  • automatic post of a new post in a specific. thread when admin / mod approved a link
  • logging user who's add the link (its easy but don't had the time for this version
  • categories and subcategories in Navbar
  • get used of the vB rate feature and try to integrate it
  • code clean up
  • better translation
  • and more...
INstall and upgrade
  • For those of you who will install the script the first time, just download the attached file and read firsttime_install.txt.
  • For those of you who allready updated the templates, just reupload "links.php" and do step 1. and 2. in upgrade_install.txt, and also open CP and add the links_redirect_add & links_redirect_url template which is attached to this message. This will fix all your probs
  • For those fo you who do not change the templates yet, but installed the hack, just do whats in upgrade_install.txt


DOWNLOAD vB Links Hack 1.3

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 10-01-2001, 01:34 AM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Delhaze


Look in online.php:

Around the 200 lines mark your see lots of "case" statements

You need to add something like this:

PHP Code:
    case 'links':
      
$userinfo[where] = "Viewing the <a href='links.php?s=$session[sessionhash]'>Links</a>";
      break; 
Also around the 500 lines mark you see more "case" statements

You need to add something like this:

PHP Code:
  case 'links.php':
    
$userinfo[activity] = 'links';
    break; 
Worked great! Thanks!
Reply With Quote
  #103  
Old 10-01-2001, 01:37 AM
afterlab's Avatar
afterlab afterlab is offline
 
Join Date: Oct 2001
Location: Dallas, TX
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup worked here too! Thanks for helping me with this.. I now figured how to work this with my other hacks. Thanks again!
Reply With Quote
  #104  
Old 10-01-2001, 03:32 PM
PogeR
Guest
 
Posts: n/a
Default

WHAT ABOUT THE TEMPLATES????? IT STILL DOESN'T WORK
Reply With Quote
  #105  
Old 10-01-2001, 04:21 PM
YourHostSucks
Guest
 
Posts: n/a
Default

Here are the templates...
Reply With Quote
  #106  
Old 10-23-2001, 01:54 AM
RyanGatewood
Guest
 
Posts: n/a
Default

Whats the latest version with all the fixes and is it avail. in one zip file??
Reply With Quote
  #107  
Old 10-23-2001, 10:57 AM
Pk
Guest
 
Posts: n/a
Default

Quote:
Originally posted by marl


add this:
PHP Code:
if (!eregi("http://",$url)) $url "http://".$url
under:
PHP Code:
$time time(); 


Anyone got a pic for this? =)
Reply With Quote
  #108  
Old 12-22-2001, 08:01 PM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone tell me which file I need to edit with the code that YourHostSucks suggested to change the admin cp look?

Thanks!

And Ryan, I used the zip in the first post and it worked fine for me (I'm running 2.2.1).

Reply With Quote
  #109  
Old 12-24-2001, 10:01 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this hack. I have one problem. The redirection breaks if there is a & in the URL. Does anyone know how to fix that?
Reply With Quote
  #110  
Old 12-26-2001, 03:47 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Display a list of the categories on two or three columns instead of having a drop down box?
Reply With Quote
  #111  
Old 12-26-2001, 12:02 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in admin cp. I think it is because I am missing this code in header
<script language="javascript">function upload(upload) { var MainWindow = window.open (upload,"_blank","toolbar=no,location=no,menubar=n o,scrollbars=no,width=320,heig ht=150,resizeable=no,status=no");}</script>

where can I place it?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04936 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete