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)
-   -   Links To Us Hack (https://vborg.vbsupport.ru/showthread.php?t=50789)

trafix 03-26-2003 09:27 AM

There has been lots of downloads for this one.....
Has anyone installed it yet?
Need some help?

alkatraz 03-26-2003 02:14 PM

wOOt wOOt
great hack! i might install it later

trafix 03-26-2003 02:18 PM

thanks, let me know if you are having probs installing......however i plan to go to bed soon 3:12am here :(

ricoche 03-27-2003 07:07 AM

Hello there,

I downloaded the zipped file but it was corrupt so I had to do a fix. However, the linkstous.php inside is either not working properly or I'm missing some files. <LOL>

Very nice hack and I look forward to giving it a shot. Please advise on what I might be doing wrong here to get started.

Thanks,

Ricoche

trafix 03-27-2003 11:12 AM

Sorry I took so long to get to you.....

File replace and working.

Thanks Ricoche

Quote:

Today at 07:07 PM ricoche said this in Post #24
Hello there,

I downloaded the zipped file but it was corrupt so I had to do a fix. However, the linkstous.php inside is either not working properly or I'm missing some files. <LOL>

Very nice hack and I look forward to giving it a shot. Please advise on what I might be doing wrong here to get started.

Thanks,

Ricoche


ricoche 03-27-2003 12:07 PM

Hello,

First thanks for the file update.

I think I installed everything according to instructions, however I'm getting a slight error with my database when adding a banner from the admin panel. The error is as follows:

Quote:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: INSERT INTO banners (bannerid,banneratl,comment,bannerurl) VALUES (NULL,'Please visit Ricoche.net',''',http://www.ricoche.net/forums/banners/Ricochesm.gif')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Thursday 27th of March 2003 07:56:14 AM
Script: http://www.ricoche.net/forums/forums...stousadmin.php
Referer: http://www.ricoche.net/forums/admin/...php?action=add
Everything else works extremely well. I'm now trying to create some different banner types, but any info about this error above would sure be appreciated. I noticed there is a double "forums" in the admin URL above there also. Maybe this is the reason, but I'm not sure how to fix that.

Thanks again for a super hack here.

Ricoche

trafix 03-27-2003 12:21 PM

ok im working on it

trafix 03-27-2003 01:11 PM

open linkstousadmin.php and replace "start insert" with

PHP Code:

 // ###################### Start insert #######################
if ($action=="insert") {
$DB_site->query("INSERT INTO banners (bannerid,banneratl,bannerurl,comment) VALUES (NULL,'".addslashes($banneratl)."','".addslashes(htmlspecialchars($bannerurl))."','".addslashes($comment)."')");
      echo 
"<p>Record added</p>";
  
$action="modify";

  


save and upload......i will update zip to V 1.4 soon

my pc is about to crash and i have to reboot :(

trafix 03-27-2003 01:45 PM

ok zip file updated.

This hack should install without a problem now...

ricoche 03-27-2003 02:31 PM

Thanks so much for this hack. Yes, the added lines fixed my problem perfectly. Now I'm able to add the additional custom banners and add comments etc.

I'm really impressed with this addon. I think it's a very nice addition to vbulletin and in my case vbportal as well.

Ricoche :)


All times are GMT. The time now is 03:13 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.01130 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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