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)
-   -   [Release vB Links 1.0 | vB2bx (https://vborg.vbsupport.ru/showthread.php?t=12815)

dimitr| 05-09-2002 10:51 PM

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?

Webmasta XT 05-11-2002 10:11 PM

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??

Webmasta XT 05-12-2002 11:45 AM

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*

Floris 05-29-2002 06:53 AM

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?)

www.tourc.ca 05-29-2002 08:14 PM

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...

Birdie501 05-31-2002 04:05 PM

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.

;)

www.tourc.ca 05-31-2002 04:58 PM

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!

Birdie501 06-01-2002 09:32 AM

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?

pran 06-12-2002 08:03 AM

Any plans to make it look more consistent with the rest of the pages?

Smoothie 07-04-2002 06:50 PM

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?

Webmasta XT 08-20-2002 12:58 PM

when is the new version coming out? or is there any other hack like this one?!?!

FFMania 08-26-2002 09:05 AM

Is it possible for guests to submit links as well???

bouncer18 10-08-2002 06:42 AM

great hack

no probs on 2.2.8

yzztik 05-28-2003 12:12 PM

This hack still being supported?

I was wondering, in the vb_links_category table, there is a sortorder field. However, I cannot seem to call that in the ORDER by functions because it does not exist in the vb_links table. I can only order by category_id but that is not the same as sortorder, can anyone help?

vdich 12-15-2003 07:09 PM

Quote:

Originally Posted by Birdie501
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?

New Version ?

NSeXcellent 12-26-2003 03:11 AM

Im just kinda curious what I'd have to do to have the top 10 links listed on Forum Home, or in the Header, for that matter


All times are GMT. The time now is 04:17 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.01262 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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