Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #152  
Old 03-23-2002, 05:07 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
Download link = 404 :/
Look in Post #126.
Reply With Quote
  #153  
Old 04-05-2002, 11:02 PM
Rheinblitz Rheinblitz is offline
 
Join Date: Jan 2002
Location: Braunschweig
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anybody already added tableborders?
Reply With Quote
  #154  
Old 04-06-2002, 12:42 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@FWC: It's not in this post.

I need this hack too! :cross-eyed:
Reply With Quote
  #155  
Old 04-06-2002, 03:38 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KarateKid
@FWC: It's not in this post.

I need this hack too! :cross-eyed:
I just looked and it's still there. Post #126 in this thread.
Reply With Quote
  #156  
Old 04-06-2002, 03:57 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ups, you're right
Reply With Quote
  #157  
Old 04-14-2002, 06:27 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This thread is weird

Anyway,
In Post #1 I downloaded the .zip and applied the hack.

The instructions for the admin/index.php are not so good for vB 2.2.5 and here is how I changed it.

in vBulletin 2.2.5 admin/index.php find:
Code:
makenavselect("Templates","<hr>");
// *************************************************
?>
</table>
and replace with:
Code:
makenavselect("Templates","<hr>");
// *************************************************
// ***
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");
// ***
?>
</table>

One of the things I wanted to know when someone submits a new link. Who submitted this? I added the below code to the links_email_newsite template:
Code:
Submitted by: $bbuserinfo[username]
(you can place that anywhere between the two long lines in the template)


Hope this helps anybody.
Reply With Quote
  #158  
Old 04-14-2002, 07:32 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The counter shows $counter$bblink or something , and it doesn't show up a number! I think you should use "$link[counter]" on this spot instead.
Reply With Quote
  #159  
Old 04-20-2002, 12:46 AM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay after fishing through all the threads and changing what needed to be changed I have this running.

I have one problem and was wondering if anyone can help with this, when I try to use the banner upload on the users side (I can upload in the admin screen) I get
Quote:
Parse error: parse error in /home/indiamik/public_html/india/linksupload.php on line 8
These are the lines 5,6,7, and 8 from my linksupload.php where I believe the problem lies.

Quote:
// ###################### Start variables #######################
// Path to link directory with a / at the end
$path = "/home/indiamik/public_html/india/links/"
http://www.indiamike.com/india/links/";
Can anybody see what I did wrong? Help.

http://www.indiamike.com/india/links.php
Reply With Quote
  #160  
Old 04-20-2002, 03:47 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're missing a ; at the end of the $path line. I don't have line 8 there at all. Add the missing ; and try commenting out line 8.
Reply With Quote
  #161  
Old 04-20-2002, 08:51 AM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FWC
You're missing a ; at the end of the $path line. I don't have line 8 there at all. Add the missing ; and try commenting out line 8.
That was it!

Thanks FWC for taking the time to answer, works great now.



Mike
Reply With Quote
Reply


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:29 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.07146 seconds
  • Memory Usage 2,316KB
  • 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
  • (3)bbcode_code
  • (5)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
  • (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