vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Advanced Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=120517)

harmor19 04-21-2007 08:13 PM

Re-import the product.

redlabour 04-21-2007 09:07 PM

1. BUG AGAIN:

Quote:

Invalid SQL:
CREATE TABLE `vb3_custom_droplinks_cat` (
`catid` INT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`title` VARCHAR( 100 ) NOT NULL ,
`permissions` VARCHAR( 100 ) NOT NULL ,
`display` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE = MYISAM ;;


MySQL-Fehler : Table 'vb3_custom_droplinks_cat' already exists
Fehler-Nr. : 1050
2 .ATTENTION!!!

Updating to 2.x is ignoring all Links from 1.x Series of this Hack!!!

harmor19 04-21-2007 09:31 PM

Quote:

Originally Posted by redlabour (Post 1232900)
1. BUG AGAIN:



2 .ATTENTION!!!

Updating to 2.x is ignoring all Links from 1.x Series of this Hack!!!

You'll have to drop the folowing tables in your database

Code:

custom_droplinks
custom_droplinks_cat
custom_singlelinks

Re-import the product.

redlabour 04-21-2007 09:42 PM

Next Bug:

Menus are not shown at vBadvanced. You have missed using GLOBALS....

*This Update is really %?&?%? .... * :cool:

harmor19 04-21-2007 09:51 PM

Quote:

Originally Posted by redlabour (Post 1232923)
Next Bug:

Menus are not shown at vBadvanced. You have missed using GLOBALS....

*This Update is really %?&?%? .... * :cool:

Once my site works again I'll help you out with vbadvanced

b6gm6n 04-21-2007 09:51 PM

Jesus... im posting in differing mods... there's 2, almost the same... one click or a reply later and it's a world of confusion... i take it THIS is the mod i should use/update?... im gonna have to delete myself from the other one

harmor19 04-21-2007 09:54 PM

Quote:

Originally Posted by b6gm6n (Post 1232929)
Jesus... im posting in differing mods... there's 2, almost the same... one click or a reply later and it's a world of confusion... i take it THIS is the mod i should use/update?... im gonna have to delete myself from the other one

This is the mod you should use or update depending on if you have it installed or not.

All the links should be in the table. You'll have to edit "custom_droplinks" table and look for "catid".

redlabour 04-21-2007 09:57 PM

Quote:

Originally Posted by harmor19 (Post 1232928)
Once my site works again I'll help you out with vbadvanced

Well, all that is to do (as far as i know) is that you have to insert GLOBAL?s in your Code. ;)

And by the Way - can you please use the Update Feature next Time you Update your Hacks ? ;)

harmor19 04-21-2007 09:59 PM

Quote:

Originally Posted by redlabour (Post 1232935)
Well, all that is to do (as far as i know) is that you have to insert GLOBAL?s in your Code. ;)

And by the Way - can you please use the Update Feature next Time you Update your Hacks ?

I believe you have to edit vBCMPS in your ACP and add a couple variables.

I sent updates when I upgraded to 2.0.0 but not when I upgraded to 2.0.1. The reason is because not that many people downloaded 2.0.0 when I made the upgrade to 2.0.1

b6gm6n 04-21-2007 10:02 PM

Right... im happy so far but if anything else go's wrong im leaving (said the vicar to the hoar)... right... well all my links went poof, gonna have to start again... still no info on image paths... not all would know and if you do post a full url/path your menu stops... (haven't tried a /home/public_blah blah blah yet) - menu from portal front page is gone as is the IPB arcade... global vars were in place and still are in place... still battling on with those links... should be ok...in time, cheers

b6gm6n 04-21-2007 10:04 PM

i take that back...you cant add an image... whats the format? all this pratting around after getting all my links dev_nulled is annoying me... cheers

ahh you can't just add an image and go... you also have to choose who sees the link also... ok fair enough, i'll remember that for next time

actually does that mean that everytime you want to move a menu up or down you now have to reselect the usergroups?...

-b6

harmor19 04-21-2007 10:07 PM

Quote:

Originally Posted by b6gm6n (Post 1232941)
i take that back...you cant add an image... whats the format? all this pratting around after getting all my links dev_nulled is annoying me... cheers

ahh you can't just add an image and go... you also have to choose who sees the link also... ok fair enough, i'll remember that for next time

-b6

So is everything working ok now?

harmor19 04-21-2007 10:11 PM

Quote:

Originally Posted by b6gm6n (Post 1232941)
i take that back...you cant add an image... whats the format? all this pratting around after getting all my links dev_nulled is annoying me... cheers

ahh you can't just add an image and go... you also have to choose who sees the link also... ok fair enough, i'll remember that for next time

actually does that mean that everytime you want to move a menu up or down you now have to reselect the usergroups?...

-b6

Yes. I could have done it differently but that would mean adding the code that generates the usergroups in multiple locations.

b6gm6n 04-21-2007 10:25 PM

well it's very useful as it is... showing links to certain user groups is defiantly a good thing...

harmor19 04-21-2007 10:32 PM

Quote:

Originally Posted by b6gm6n (Post 1232958)
well it's very useful as it is... showing links to certain user groups is defiantly a good thing...

Thanks.

Were you able to find the links that you said were removed in the table "custom_droplinks"?
If so and you don't know how to edit make them reappear on the navbar just tell me and I'll write a guide. Actually I need to write a guide for this anyways.

I wrote this quickly.
Quote:

Go into phpmyadmin and select your vbulletin database.
Browse the table named "custom_droplinks". Change all the "catid's" with 0 to 1.
Go into your ACP --> Advanced Navbar Links --> Modify/Delete The links should show up under the first category. You can edit the links from here and select a different category to place it in.

rickyreter 04-21-2007 11:20 PM

Hi,just wondered how you put a static header in each drop down say


house this one
bla
bla
bla
flat this one
bla
bla
bla

harmor19 04-21-2007 11:24 PM

You mean separators? You can't do that in this version.

redlabour 04-21-2007 11:25 PM

Quote:

Originally Posted by harmor19 (Post 1232938)
I believe you have to edit vBCMPS in your ACP and add a couple variables.

Definetly not - you have to add a GLOBAL Variable to your Hack like all other Hacks do - and by the Way - it worked before the Update.

harmor19 04-21-2007 11:27 PM

[How-To] Get links to work in vBAdvanced.

Go into your ACP --> vBa CMPS --> Default Settings
Look for "Portal Output Global Variables". Add the following into the text area.
Code:

custom_singlelinks
custom_droplinks
custom_droplinks_cat


rickyreter 04-21-2007 11:54 PM

Just had quick look and you could put:

<tr><td class="thead">Whatever</td></tr> in the name on add a link if you want a seperator it does show up a small table error but nothing to worry about..... for me anyway...:) Just back things up

see under gallery and video demo menu

harmor19 04-22-2007 01:38 AM

Quote:

Originally Posted by rickyreter (Post 1233013)
Just had quick look and you could put:

<tr><td class="thead">Whatever</td></tr> in the name on add a link if you want a seperator it does show up a small table error but nothing to worry about..... for me anyway...:) Just back things up

see under gallery and video demo menu

That is genius.

TrIn@dOr 04-23-2007 01:13 PM

When upgrading, old Menu is gone or not shown.

And if u try to re-create it, u can't.

Perhaps is in the old db!, plz fix!

EDIT: Idea, add the posibility to add sections inside the menus!!

Neutral Singh 04-23-2007 03:42 PM

upgraded to new version and using vbadvanced... added global variables... only menu with drop downs showing up but on clicking the links nothing shows up... have a look here... http://www.sikhphilosophy.net - Resources drop down... what i am missing???

giovannicosta 04-23-2007 04:25 PM

Working great :)

giovannicosta 04-23-2007 08:20 PM

Actually, I get no links...

harmor19 04-23-2007 08:48 PM

Quote:

Originally Posted by giovannicosta (Post 1234263)
Actually, I get no links...

Did you set the usergroup permissions when creating the links?

AzzidReign 04-24-2007 12:46 AM

I don't know if this has been brought up yet...but when you go to edit a menu (I haven't tried individual links yet), it won't let you. When you click edit, you edit it to your likings, then you click save, it tells you that the name is already in use... So the changes don't take place :(

Neutral Singh 04-24-2007 03:07 PM

Quote:

Originally Posted by Neutral Singh (Post 1234090)
upgraded to new version and using vbadvanced... added global variables... only menu with drop downs showing up but on clicking the links nothing shows up... have a look here... http://www.sikhphilosophy.net - Resources drop down... what i am missing???


Plesae let me know why drop down links are not showing up on clicking them...

harmor19 04-24-2007 04:00 PM

Quote:

Originally Posted by Neutral Singh (Post 1234723)
Plesae let me know why drop down links are not showing up on clicking them...

In the "Resources" drop down menu I see "Guru Granth Sahib Translation".

AzzidReign,
I'll fix the problem and upload the new files soon.

giovannicosta 04-24-2007 04:15 PM

Quote:

Originally Posted by harmor19 (Post 1234280)
Did you set the usergroup permissions when creating the links?

Didn't apply the template edits and cant because my forum skin is different...

harmor19 04-24-2007 04:27 PM

Quote:

Originally Posted by giovannicosta (Post 1234768)
Didn't apply the template edits and cant because my forum skin is different...

You may have to check "header" template for the first edit and "navbar" for the second edit.

b6gm6n 04-24-2007 05:17 PM

Hi.. did anyone fix the ipbarcade and vbadvanced not showing bug? - it was working before, the same global variables are in place, i believe i haven't touched the arcade although i did insert the global variable there also... please advise

EDIT: i get it

custom_singlelinks
custom_droplinks
custom_droplinks_cat

I must add that 'cat' on to the arcade also i believe :)
(got to work out how i did that before also :D)

AzzidReign 04-24-2007 08:48 PM

Quote:

Originally Posted by harmor19 (Post 1234761)
AzzidReign,
I'll fix the problem and upload the new files soon.

Thanks. Also, I don't know if it's possible, but when clicking edit, could you make it so it shows what groups are selected instead of having to re-select them. OR, instead of selecting them, use check boxes (I think this would be best).

b6gm6n 04-24-2007 08:52 PM

I second AzzidReign's idea... if possible would be better, cheers

-b6

harmor19 04-24-2007 10:08 PM

Quote:

Originally Posted by AzzidReign (Post 1234942)
Thanks. Also, I don't know if it's possible, but when clicking edit, could you make it so it shows what groups are selected instead of having to re-select them. OR, instead of selecting them, use check boxes (I think this would be best).

Ok. I will later tonight.

harmor19 04-25-2007 02:22 AM

Update: 2.0.2
When you edit a menu or link the usergroups selections do not reset.
I have changed the usergroup multi-select form to checkboxes.
I have cached the "custom_droplinks_cat" template.

--Changed Files--
product-custom_links.xml
admincp/admin_custom_links.php

Kiint 04-25-2007 09:02 AM

Working great, I much prefer the Checkbox options.

One little suggestion, Would it be possible to have note on the "Edit Links & Menus" screen to tell us if the link opens in a new window or not?
The reason I ask is that I inputted a lot of links into this update and then found that some opened in a new browser as I'd forgotten to edit that bit....so then had to go through every link to check....Not important, just a suggestion :) :D

redlabour 04-25-2007 10:54 AM

Quote:

Originally Posted by harmor19 (Post 1235064)
Update: 2.0.2
When you edit a menu or link the usergroups selections do not reset.
I have changed the usergroup multi-select form to checkboxes.
I have cached the "custom_droplinks_cat" template.

--Changed Files--
product-custom_links.xml
admincp/admin_custom_links.php

Does it delete my Links again at Updating or did you fix this Bug this Time?

itsblack 04-25-2007 11:23 AM

Quote:

Originally Posted by redlabour (Post 1235208)
Does it delete my Links again at Updating or did you fix this Bug this Time?

I just updated from 1.0.1 to 2.0.2, and all my links are gone. I have to add it again.

redlabour 04-25-2007 11:25 AM

Quote:

Originally Posted by itsblack (Post 1235220)
I just updated from 1.0.1 to 2.0.2, and all my links are gone. I have to add it again.

Ok - but what about a Update from 2.0.x to 2.0.2 ?


All times are GMT. The time now is 10:05 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.01555 seconds
  • Memory Usage 1,838KB
  • 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
  • (22)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