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
  #162  
Old 05-09-2002, 10:51 PM
dimitr|'s Avatar
dimitr| dimitr| is offline
 
Join Date: Oct 2001
Location: St Paul
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question about this hack. I have no need for top sites or all sites to be in category menu so I deleted them from the table. Now I'm wondering how I would have the links.php show one of my categories by default instead of listing all links by order of hits. Is there an easy way of doing this?
Reply With Quote
  #163  
Old 05-11-2002, 10:11 PM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I installed this hack, but in the Admin CP, when i click anyone one of these,

PHP Code:
// ***
makenavoption("Add","../links/adminlinks.php?action=add","|");
makenavoption("Modify","../links/adminlinks.php?action=modify","|");
makenavoption("Approve","../links/adminlinks.php?action=offline");
makenavselect("Links");
// ***
makenavoption("Add","../links/adminlinks.php?action=addcat","|");
makenavoption("Modify","../links/adminlinks.php?action=modifycat","|");
makenavoption("Arrange","../links/adminlinks.php?action=ordercat");
makenavselect("Category");
// *** 
anyone of those links in admin cp, they don't work, it goes to a blank page, can anyone help me??
Reply With Quote
  #164  
Old 05-12-2002, 11:45 AM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HELP PLZ!!!!!!!!!!

*EDIT*if this hack doesn't work for me, than how do I remove the templates? they are not custom so the only link i see is the change orignal beside them, can someone plz guide me on how to remove them?*EDIT*
Reply With Quote
  #165  
Old 05-29-2002, 06:53 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you just didn't install it properly.
You sure you uploaded the files to the right directory, made the right templates, and run the install script from the admin dir ? (and followed the onscreen instructions?)
Reply With Quote
  #166  
Old 05-29-2002, 08:14 PM
www.tourc.ca www.tourc.ca is offline
 
Join Date: Mar 2002
Location: Greater Toronto Area
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... first of all, nice hack! I changed the links.php so that all the banners would be a certain size, and changed all the templates to be more matching to my site!... you can demo below.. you don't have to be a member to view the links

http://www.tourc.com/forums/links.ph...ich&category=1

I have only one problem.
this was a problem before I made any edits to the hack

the field counter in the table vb_links doesn't update or count numbers for some of the links! it's strange because some of the links counters work and some don't

any ideas! otherwise excellent hack!


NERVER MIND! I just figured it out.. it's when the url doesn't include the http:// and I can see that there are posts regarding the http:// url probelm which I'm about to read! anyways

awesome hack...
Reply With Quote
  #167  
Old 05-31-2002, 04:05 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by www.tourc.ca
ok... first of all, nice hack! I changed the links.php so that all the banners would be a certain size, and changed all the templates to be more matching to my site
Hi,

can you post your changes? Would be really nice. or pm me.

Reply With Quote
  #168  
Old 05-31-2002, 04:58 PM
www.tourc.ca www.tourc.ca is offline
 
Join Date: Mar 2002
Location: Greater Toronto Area
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Birdie501


Hi,

can you post your changes? Would be really nice. or pm me.

just look for the following: (do a search for $banner) in the links.php file and in the img src tag add

width='468' height='60'


like so:


if ($link[banner] == "") {
$banner = "";
} else {
$banner = "<div align='left'><a href='links.php?action=redirect&url=$link[url]' target='_blank'><img src='links/$link[banner]' border='0' alt='$link[banner_text]' width='468' height='60'></a></div>";
}
if ($link[banner_url] == "") {
$banner_url = "";
} else {
$banner_url = "<div align='left'><a href='links.php?action=redirect&url=$link[url]' target='_blank'><img src='$link[banner_url]' border='0' alt='$link[banner_text]' width='468' height='60'></a></div>";




this stretches or shrinks the banner to the size 468x60 or anything you want by changing these numbers but doesn't look good if the banner isn't designed for that size....

I'm going to rewrite it so that if it is larger than x by x it will shrink it so that users cannot abuse the size, but if it is smaller than x by x to just leave it alone.... but this will do for now!

I had to implement it because the suzuki swift banner that is on the page now (under other auto interest section in drop down box on links page) was absolutley huge before! it took over the whole page!
Reply With Quote
  #169  
Old 06-01-2002, 09:32 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for now, i am lookng forward to your new version :-))
Maybe it is possibe to use the code of the avatarcreator hack to resize the banners to a specific size?
Reply With Quote
  #170  
Old 06-12-2002, 08:03 AM
pran's Avatar
pran pran is offline
 
Join Date: Dec 2001
Location: Caloocan, PH
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans to make it look more consistent with the rest of the pages?
Reply With Quote
  #171  
Old 07-04-2002, 06:50 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question, here in the install file it says:
Quote:
Open adminlinks.php and change the $limit to your prefer limit of pages to show on main link page.
In the adminlinks.php file it has:
PHP Code:
$limit   25;      // number of records to display 
Is that links per page? If so, what do i cahnge to show only 5 links per page?
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 10:12 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.06773 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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