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)

AWI 12-10-2005 05:48 PM

Installed on 3.5.2 and it works great, thank you

Ramsesx 12-11-2005 04:56 AM

It would be perfect if would possible to add a phrase as linkname.

suryoyena 12-12-2005 02:45 AM

Hey,

do you think it's possible to modify this (great) hack, that my
user can organize theirown custom links? it would be more than great.

chris

don't forget: no h?tchen, no spiel :D

b6gm6n 12-12-2005 05:21 PM

icons...permissions! :) where are they?...haha joking...no hassle! :)

-b6

Firestar.chkn 12-21-2005 06:44 PM

Hi Harmor19,

I've got a problem simular to the one below.

Quote:

Originally Posted by harmor19
I may have a solution

Open "product-custom_links.xml" in an editor
Find:
PHP Code:

<phrasetype name="Error Messages" fieldname="Error Messages"

Replace With:
PHP Code:

<phrasetype name="Front-End Error Messages" fieldname="Front-End Error Messages"

If this works I'll make another xml for people receiving that error.

After installing your normal xml (not the front page error messages one), I got this error. I then tried uninstalling it, but couldn't. I tried reinstalling and uninstalling a couple of times, with no results. When trying to uninstall, I just cannot. The button doesn't do anything. I select uninstall in the product screen from the dropdown list, but the "go" button doesn't actually do anything when I click it.

Now, I do have a couple of other hacks installed, and I wonder if that didn't mess around a bit, but I need to know how to get rid of this thing now. The problem is that I cannot install or uninstall anything else now. It's completely broken.

If you need anything to try and help out, I'd be more than happy to give you an admin username and password to my server, to have a look around, if that'll help.

Please, I am despirate. I need to get rid of this and get my server stable again, and be able to install and uninstall other hacks again.

Thanks for your help.
Firestar.

harmor19 12-30-2005 02:51 PM

Quote:

Originally Posted by chadi
any way to add this to forumhome instead? I'm trying to implement in a vertical navbar on my right side column in forumhome

https://vborg.vbsupport.ru/showthrea...threadid=99318

I guess you take the code that I have you put in the navbar and just put it into the side bar.

@Firestar.chkn
I'm sorry but I have the slightest idea what the problem could be.

As for the stuff I said I was going to add, I was really busy and never got around to do it.
If anyone wants they can make add-on hacks.

harmor19 12-30-2005 03:04 PM

How would I do the template caching?

vonedaddy 12-30-2005 11:00 PM

Is there a way I can add 2 of these? I have one working and I love it!

YOimYO 12-31-2005 02:28 AM

Where can i edit the settings of what this does ? I would like the new buttons to be created below. not beside the word extras.

thx :)

works nicely btw with 3.5.0 gold :D

harmor19 12-31-2005 08:23 AM

Quote:

Originally Posted by vonedaddy
Is there a way I can add 2 of these? I have one working and I love it!

I'm glad you like my hack.

Well I lost my site that I did my hacks on so I can't help, sorry.

I guess I'll have to set up one of those home servers.


Quote:

Where can i edit the settings of what this does ? I would like the new buttons to be created below. not beside the word extras.
I'm affraid not, sorry.

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

Devil Woman 01-04-2006 05:18 AM

Am I blind, lol I cant find where it is in the admin cp, can anyone help me?

harmor19 01-04-2006 05:52 AM

Did you upload vb_custom_links\new_install\includes\cpnav_custom_ links.xml to your_forum_root/includes/xml/?

If so it should be under
Forums & Moderators

Devil Woman 01-04-2006 07:31 AM

Thanks I have that sorted but now when I add a link it shows up next to the extras and not in the drop down

Also my extras link in the navbar is highlighted and doesnt look like the rest of my links in the navbar, can anyone help please

Thankyou

harmor19 01-04-2006 07:39 AM

Quote:

Originally Posted by Devil Woman
Thanks I have that sorted but now when I add a link it shows up next to the extras and not in the drop down

Also my extras link in the navbar is highlighted and doesnt look like the rest of my links in the navbar, can anyone help please

Thankyou

Please read through the Q and A's at the top.

Devil Woman 01-04-2006 08:43 AM

I have done this one

Q: The link doesn't look right on the navbar

edited all it tells me to edit but still nothing could it be that nav_element is not my class if it's not where would I find what mine is

Thanks

harmor19 01-04-2006 08:56 AM

You can PM me your site or post it here.
I'll tell you what your class is.

TechDawgFan 01-04-2006 12:45 PM

I really like this hack. Install went fine once I uploaded the right xml file.

Question:

I do not want images to show up next to my links, or, if that isn't possible, a simple dot or something. How do I disable the link images?

TDF

harmor19 01-04-2006 12:57 PM

When adding the link do not put anything in the text box that's asking for the image.

P.S.
Fix your homepage and put http:// infront of it
i.e. http://www.latechbbb.com

49er 01-04-2006 06:42 PM

Works a treat, Thank you harmor19.

harmor19 01-05-2006 10:11 AM

Updates (Just incase you installed my hack and didn't click the "Install" Button)

I found a bug when adding images to a drop down link.

Redownload the archive and re-upload 'admincp/admin_custom_links.php'.

This is minor but I fixed how the the image works.
Before it would show the image tag either or not you added an image.
Now the image tag is created only for links where you added the image.

Snake 01-05-2006 11:18 AM

Is this going to work on 3.5.3?

harmor19 01-05-2006 12:02 PM

Quote:

Originally Posted by Aftermath
Is this going to work on 3.5.3?

It should.
It wouldn't hurt to try it.

TechDawgFan 01-05-2006 12:02 PM

Quote:

Originally Posted by harmor19
When adding the link do not put anything in the text box that's asking for the image.

P.S.
Fix your homepage and put http:// infront of it
i.e. http://www.latechbbb.com

Thanks! I got my link fixed. Thank you for pointing that out.

I see you've updated the hack to fix the problem. I was leaving the field blank and was having the problem you described in your update. I had done a work around and just removed all the image code in the .xml to get around it. But now I've installed the upgrade and it is working fine.

Appreciate the quick response and support!

TDF

TechDawgFan 01-05-2006 12:04 PM

Quote:

Originally Posted by harmor19
It should.
It wouldn't hurt to try it.

I did the vBulletin upgrade via plugin and it still works fine. Don't know about the full vBulletin upgrade, though.

TDF

bogene2020 01-05-2006 07:58 PM

I installed the hack and it works well . Thanks for that .

Question 1 - How do I rename the Title "EXTRAS" to something else

Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar

Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?

Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/

I thought they were using your hack but in ACP under custom links I just have 2 options Add and Modify / Delete

Thank You ..

harmor19 01-05-2006 08:41 PM

Quote:

Originally Posted by bogene2020
I installed the hack and it works well . Thanks for that .

Question 1 - How do I rename the Title "EXTRAS" to something else

Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar

Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?

Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/

I thought they were using your hack but in ACP under custom links I just have 2 options Add and Modify / Delete

Thank You ..

Question 1 - How do I rename the Title "EXTRAS" to something else
--Admin CP --> Languages & Phrases --> Phrase Manager click "Search".
In the "Search for Text" box type "Extras" and click "Find".
Click The "Edit" button on the page that comes up.
In the "English (US) Translation" box type the word you would like to use and click "Save".

Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar
--Edit the navbar and place the code below in the template where you want it
HTML Code:

<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks

Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?
--Apply the direction under Edit navbar in the readme.txt to the new navbar.

Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
--Custom Links --> Add change the "Add Stand Alone Link" setting to "No".

bogene2020 01-05-2006 09:59 PM

Quote:

Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
--Custom Links --> Add change the "Add Stand Alone Link" setting to "No".
I can add extra links to the navbar but the only one that lets me have a drop down is "EXTRAS" if I do Custom Links --> Add change the "Add Stand Alone Link" setting to "No" it adds the link under "EXTRAS"

This my Site I added the link "Public Records" . Is it possible to make the Public Records Link a Dropdown Like Extras . Thanks

harmor19 01-05-2006 10:09 PM

If you added the link via my script then you cannot make it into a drop down menu.
I am trying to figure out how to add it.

Here's a tutorial on how to make a drop down menu
http://www.vbulletin.com/forum/showp...03&postcount=4

bogene2020 01-05-2006 10:16 PM

Thanks for the very prompt reply .. I will look at the tutorial .

YOimYO 01-06-2006 04:45 AM

*Thanks* /me installs .....


All times are GMT. The time now is 12: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.01558 seconds
  • Memory Usage 1,879KB
  • 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_html_printable
  • (6)bbcode_php_printable
  • (13)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
  • (40)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