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)

kremer4 01-06-2006 01:48 PM

Getting the following error message; any suggestions.

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database

harmor19 01-06-2006 06:30 PM

That's weird, I'll do some research on why you recireved that error.

kremer4 01-06-2006 06:35 PM

Thanks :up:

shadowdancer36 01-06-2006 07:55 PM

Is it a way I can change the word extras to something else? :ermm:

harmor19 01-06-2006 11:07 PM

Quote:

Originally Posted by shadowdancer36
Is it a way I can change the word extras to something else? :ermm:

In the phrase manager search for "Extras".
Edit the wird and in the "English Translation" box put what you want it to say.

harmor19 01-08-2006 01:52 AM

Quote:

Originally Posted by kremer4
Getting the following error message; any suggestions.

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database

I haven't forgot about you.
Perhaps I need to make it "unsigned"?

Edit:
I made it unsigned and I made the default value "0".
If you are stilling recieving an error do not hesitate to report it.

Andyrew 01-08-2006 03:56 AM

I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:

harmor19 01-08-2006 04:40 AM

Quote:

Originally Posted by Andyrew
I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:

I'm sorry about that.
You can now type "100" characters for the name.

You'll have to uninstall the current product and upload the new one.

Andyrew 01-08-2006 08:45 AM

Working now :) whats the upgrade2.xml for do i need to run this even though its working now.

harmor19 01-08-2006 09:02 AM

You do not need to run upgrade2.
It's to add images to links.

YOimYO 01-08-2006 11:26 AM

OK. i have installed this when you added the images to the buttons. that same day.

its working ok. but i want to make sure i have the most recent version.


what do i need to do to reinstall the newest ? do i need to completely uninstall the older version ?




thx ;)

harmor19 01-08-2006 11:56 AM

I didn't make that big of changes so no need to uninstall and lose all your links, well unless you want to.
All I did was increase the characters that "name" accepts from "20" to "100".

YOimYO 01-08-2006 12:38 PM

ok thx for the fst response ;)

I dont use long names. so not needed. Ill wait till next upgrade if there will be one :D



thx

kremer4 01-09-2006 04:00 PM

Quote:

Originally Posted by harmor19
I haven't forgot about you.
Perhaps I need to make it "unsigned"?

Edit:
I made it unsigned and I made the default value "0".
If you are stilling recieving an error do not hesitate to report it.


Thanks it's working now, the only thing is that the drop down menu is not lined up with extras links.

harmor19 01-09-2006 04:31 PM

If it's a problem I can try to fix it tonight.

P.S.
Click "Install"!!

kremer4 01-09-2006 04:39 PM

I'm up and running, all is good. Thanks for the great support.
<<INSTALLED IS NOW CLICKED>>

Devil Woman 01-11-2006 10:09 PM

Hi, had a member come to me with a problem on my board, I have Paul M's Display Unread Posts hack installed and when members click on the no posts to be read link and then go to the extra's link in the navbar it doesn't show up any links that are in extra's dropdown but yet when you go onto the main forum page and into the forums and the posts the extra's link is fine, is this because this modification is not compatible with Paul M's hack or is there a problem?

Thanks

harmor19 01-11-2006 11:45 PM

I guess there's a problem with my hack but what's new?
I'll be upgrading this hack to use usergroup permissions soon so I let me do that and I'll see why it's not working.

kartik786 01-14-2006 09:20 PM

Gr8 Hack...

Really Helpful ....

.. But the extra bar Pi****s me off .. I just want to take it off somehow . :|

Ne other ppl havin d same prob ?

Thanatos 01-15-2006 09:51 PM

I was running this previously, though I only had 2 links in it. I just upgraded to 3.5.3 and it doesn't work for me. I did the full upgrade.

I copied my navbar changes over to the new navbar template and did an install/overwrite and it does not add any links, whether they are drop downs or stand alones.

I have uninstalled, deleted the copy/pastes out of the navbar. Reinstalled, put them back and added test links (Stand alone and drop down) and none appear.

YOimYO 01-16-2006 01:03 AM

Quote:

Originally Posted by kartik786
Gr8 Hack...

Really Helpful ....

.. But the extra bar Pi****s me off .. I just want to take it off somehow . :|

Ne other ppl havin d same prob ?

I managed to get the words extra off. but not the little arrow dropdown thingy. :p

Ill get it off tomorrow. and hopefully remember how I did it so i can tell you how :p

ciao

YOimYO 01-18-2006 10:09 AM

welp as i thought. I have managed to get the thing into my custom style and modified the way i want it.

But im very sry i cannot rememeber all the changes i made.

I had to chop it up to get it in the right place. so sry I wont be of any help :(

if you want to see the total code i can do that. but not sure if it will help.


Good Luck !

YOimYO 01-18-2006 10:31 AM

ok i just went and looke ;)
to remove the little arrow just add
Code:

,1
example :

Code:

<a href="$show[nojs_link]#TTC"><img src="$stylevar[imgdir_misc]/fusion_header_faq.gif" width="50" height="38" border="0" alt="Xtra Links #2" /></a><script type="text/javascript">vbmenu_register("TTC" ,1)

I rewrote the whole thing so the java script name is not the same as yours. but I thnk youll understand.

see the ("TTC" ,1)

well , it was just ("TTC") I added the ,1 and it goes away :D


I hope this helps you ....... Good Luck ;)

Stone Cold 3:16 01-18-2006 11:13 AM

How do you add a link under 'Extras'

bogene2020 01-18-2006 01:04 PM

Quote:

Originally Posted by Stone Cold 3:16
How do you add a link under 'Extras'

Go to the Admin Control Panel and look on the left you will see a section for custom links

sellbuydomain 01-18-2006 04:58 PM

i did everything right in 3.5.3 , after all , and add the links. but it did not show up any link when i click the extra manu, it has the word " extra" , no links come in drop manu, is there anything i did wrong? help please

Stone Cold 3:16 01-18-2006 11:13 PM

Yeah i add a link, and it doesnt go UNDER the catergory 'Extras' it goes and makes a whole new bar.

harmor19 01-20-2006 05:40 PM

When you add a link change "Add Stand Alone Link" setting to "No"

sellbuydomain 01-22-2006 07:15 AM

not working, still not work, i choose No, no links out there. only see word "extra"

rudiviss1 01-22-2006 09:04 AM

Quote:

Originally Posted by sellbuydomain
not working, still not work, i choose No, no links out there. only see word "extra"

Did you put the number 1 into the "Display No." option??

:ermm:

Devil Woman 01-25-2006 10:44 PM

Is there any possible way with this to stop guests from seeing what is in the custom links drop down @ all

Thanks

harmor19 01-25-2006 11:44 PM

The only way to stop guests from viewing the links in the drop down list is use a conditional.

I'll will write one up and post it.

harmor19 01-25-2006 11:47 PM

Find:
<td id="custom_links" class="vbmenu_control">

Above Add:
<if condtion="$bbuserinfo[userid] != 0">

Find:
vbmenu_register("custom_links"); </script></td>

Below Add:
</if>


I would like to note that this is untested but I am very confident that will work.

Snake 01-27-2006 10:49 AM

Works fine on 3.5.3?

scottct1 01-29-2006 12:31 AM

How do I add a second drop down?

Thanks!

harmor19 01-29-2006 12:53 AM

Quote:

Originally Posted by scottct1
How do I add a second drop down?

Thanks!

You can't, sorry.

Andreas 02-07-2006 12:30 AM

Warning
Do NOT import product-custom_links(front-end_error_messages).xml, this can seriously mess up your database!

Rover416 02-08-2006 02:09 PM

Nice hack.

The only thing is my members keep getting logged out if the forum when clicking any of the links,any idea why.

TeaTree 02-10-2006 09:06 PM

Hey,

Have been using your navbar hack and I have to say it's really good

How would I go about changing the drop down menu's name from Extra's to SamsterTeenz Other
???

Many Thanks,

Sam

harmor19 02-12-2006 10:12 PM

Quote:

Originally Posted by Andreas
Warning
Do NOT import product-custom_links(front-end_error_messages).xml, this can seriously mess up your database!

In the description and readme.txt I put a message saying which one to upload after finding this out
https://vborg.vbsupport.ru/showpost....3&postcount=38


All times are GMT. The time now is 09:07 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.01511 seconds
  • Memory Usage 1,824KB
  • 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_code_printable
  • (9)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