vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=98934)

harmor19 12-31-2005 03:06 PM

I have finally upgraded my hack.

16x16 images can be added to both stand-alone and drop down links.

Download the zip file, extract, browse to "upgrades" and follow the text file.

b6gm6n 12-31-2005 03:11 PM

Quote:

Originally Posted by harmor19
I have finally upgraded my hack.

16x16 images can be added to both stand-alone and drop down links.

Download the zip file, extract browse to "upgrades" and follow the text file.

very nice, exellent work!

-b6

lfpm 01-02-2006 10:55 PM

I can easily add a "Stand alone" link, but when i am adding a drop down link, this is what happens! :surprised:

PHP Code:

Database error in vBulletin 3.5.1:

Invalid SQL:

        
INSERT INTO custom_droplinks
        
(
            
url,
            
name,
            
new_window,
            
alt,
            
number,
            
image
        
VALUES (
   
'http://www.test.org',
   
'test.org Site'
   
''
   
'Official Site',
   
'',
   
''
   
);

MySQL Error  Unknown column 'image' in 'field list'
Error Number 1054
Date         
TuesdayJanuary 3rd 2006 12:53:41 AM
Script       
http://www.****.org/forum/admincp/admin_custom_links.php
Referrer     http://www.****.org/forum/admincp/admin_custom_links.php?do=add
IP Address   : ********
Username     : ****
Classname    vb_database 


YOimYO 01-03-2006 03:55 AM

updated with 3.5.0 Gold with no probs ;)

harmor19 01-03-2006 04:26 AM

Quote:

Originally Posted by lfpm
I can easily add a "Stand alone" link, but when i am adding a drop down link, this is what happens! :surprised:

PHP Code:

Database error in vBulletin 3.5.1:

Invalid SQL:

        
INSERT INTO custom_droplinks
        
(
            
url,
            
name,
            
new_window,
            
alt,
            
number,
            
image
        
VALUES (
   
'http://www.test.org',
   
'test.org Site'
   
''
   
'Official Site',
   
'',
   
''
   
);

MySQL Error  Unknown column 'image' in 'field list'
Error Number 1054
Date         
TuesdayJanuary 3rd 2006 12:53:41 AM
Script       
http://www.****.org/forum/admincp/admin_custom_links.php
Referrer     http://www.****.org/forum/admincp/admin_custom_links.php?do=add
IP Address   : ********
Username     : ****
Classname    vb_database 


I'm sorry about that
Run this query in your ACP
[sql]
ALTER TABLE custom_droplinks ADD vb_image varchar(60) DEFAULT '0' NOT NULL;
[/sql]
Change the prefix "vb_" to the prefix you're vbulletin is using.

If that doesn't work re-download the product, uninstall your current one and upload the newly downloaded one.

YOimYO 01-03-2006 09:17 AM

ok. I upgraded last night. I went in to add a photo ( smilie ) as the pic.
but i get this error on submit. Now i cannot customize my links at all. no matter what changes i do. I stull get the same error :P


any suggestions ?

PHP Code:

Database error in vBulletin 3.5.0:

Invalid SQL:

                
UPDATE custom_droplinks
                SET url 
=  'http://www.******.com/Treasure/online.php',
                    
name =  'Who\'s Online',
                    
new_window =  '1',
                    
alt =  'Who is Visiting the board Right now',
                    
number '0',
                    
image '0',
                    
WHERE linkid 4;

MySQL Error  You have an error in your SQL syntax near 'WHERE linkid = 4  
                   ' 
at line 9
Error Number 
1064
Date         
TuesdayJanuary 3rd 2006 06:15:54 AM
Script       
http://www.******.com/Treasure/admincp/admin_custom_links.php
Referrer     http://www.******.com/Treasure/admincp/admin_custom_links.php?do=edit&linkid=4
IP Address   : **.64.**.194
Username     
: ******
Classname    vb_database 

thx

LockeAG 01-03-2006 08:27 PM

Quote:

Originally Posted by YOimYO
ok. I upgraded last night. I went in to add a photo ( smilie ) as the pic.
but i get this error on submit. Now i cannot customize my links at all. no matter what changes i do. I stull get the same error :P


any suggestions ?

PHP Code:

Database error in vBulletin 3.5.0:
 
Invalid SQL:
 
                
UPDATE custom_droplinks
                SET url 
'http://www.******.com/Treasure/online.php',
                 
name 'Who\'s Online',
         
new_window '1',
         
alt 'Who is Visiting the board Right now',
         
number '0',
         
image '0',
     
WHERE linkid 4;
 
MySQL Error You have an error in your SQL syntax near 'WHERE linkid = 4 
                 ' 
at line 9
Error Number 
1064
Date 
TuesdayJanuary 3rd 2006 06:15:54 AM
Script 
http://www.******.com/Treasure/admincp/admin_custom_links.php
Referrer http://www.******.com/Treasure/admincp/admin_custom_links.php?do=edit&linkid=4
IP Address : **.64.**.194
Username 
: ******
Classname vb_database 

thx

Same Problem... but its weird, 'cos when I apply the quarry the problem began.

harmor19 01-03-2006 08:35 PM

I'm sorry again, hopefully people will install this hack despite my mistakes.

@YOimYO and LockeAG
Re-download the zip and upload "admin/admin_custom_links.php"

JohnBee 01-03-2006 10:04 PM

Simply AMAZING!
This is one great and useful hack! - thanks for this, installed...

harmor19 01-04-2006 04:21 AM

I guess I fixed the errors since no one reported any.

I'm kind of debating on adding stuff to this hack or make another one.
I have no idea how I would go about making it permission based.
I am brainstorming on how I would have it so you can add multiple drop down lists.

I guess I can start with Admin Permissions, like what admin(s) can add, edit, and delete the links.

Thank all of you for liking my hack :)


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