vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - vBH-Add new tabs (https://vborg.vbsupport.ru/showthread.php?t=228507)

Mosh 12-21-2009 06:21 PM

Quote:

Originally Posted by stained (Post 1931607)
Thanks very much for this.

I had a request from one of my members to have tabs which, when clicked, will take him to a listing of his posts with another tab taking him to his threads. Obviously he could achieve the same by going through the 'my profile' link in the header but it would be nice to get to the posts and threads with just one click. The problem is that I don't know which url to point the buttons at to achieve this. I'd appreciate any help.

You could just use my View Your Threads Or Posts From The Navbar hack, as it does exactly what your members want.

Mosh 12-21-2009 06:25 PM

Quote:

Originally Posted by bbcentral (Post 1933316)
What about this link?
search.php?do=finduser&userid={USERID}&contenttype =vBForum_Post&showposts=1
(Replace {USERID} with whatever the phrase is to display their user ID)
That will show all his posts.

I'm not exactly sure how you can show the threads, I get different results when I change "showposts=1" to "showthreads=1", but I'm not sure what the difference is exactly.

"showposts=1" shows the search results as posts, so if you have say 4 posts in 1 thread, then you will 4 posts in the search results.

"showthreads=1" shows the search results as threads, so if you have say 4 posts in 1 thread, then you will only have the one thread in the search results.

kpa4941 12-21-2009 06:53 PM

I made a custom tab that links to a custom template via: http://xxxxx.com/forum/misc.php?do=page&template=xxxxx

Is it possible for the tab to be "selected", because currently if I click on it, it leads me to the page alright but the "Forum" tab remains the default selected tab.

Mosh 12-21-2009 07:06 PM

Quote:

Originally Posted by kpa4941 (Post 1934751)
I made a custom tab that links to a custom template via: http://xxxxx.com/forum/misc.php?do=page&template=xxxxx

Is it possible for the tab to be "selected", because currently if I click on it, it leads me to the page alright but the "Forum" tab remains the default selected tab.

Not with this hack unfortunately, as all it does at the moment is take you to external sites only, which is why you had to put the full url and which is why it does not highlight the tab.

If you look at my signature, I have a product that does the lot.

alnassrah 12-21-2009 10:31 PM

When they are updated to vb 4.0.0 gold ?

Edrondol 12-21-2009 11:05 PM

Not compatible with v4 Gold.

Error:

Quote:

1. This product is not compatible with version 4.0.0 of vBulletin. (Compatible starting with 4.0.0 Beta / Incompatible with 4.0.0 and greater)

Alteran Ancient 12-21-2009 11:19 PM

Edit the XML file and remove the "maxversion=" setting. The addon still works.

Edrondol 12-21-2009 11:51 PM

Quote:

Originally Posted by Alteran Ancient (Post 1934995)
Edit the XML file and remove the "maxversion=" setting. The addon still works.

Cool. Thanks, man.

RDX1 12-22-2009 08:32 AM

Works great. Will probably be dysfunctional in vB5 when they offer customers to add their own tabs.

firstimecaller 12-22-2009 11:23 AM

Amazing that this isn't part of vB out-of-the-box. They are selling a CMS without a simple method of modifying menu navigation? World class!

RDX1 12-22-2009 11:29 AM

Quote:

Originally Posted by firstimecaller (Post 1935355)
Amazing that this isn't part of vB out-of-the-box. They are selling a CMS without a simple method of modifying menu navigation? World class!

vBulletin CMS isn't really a CMS. It's no where near what a CMS should be.

TunerNetwork 12-22-2009 02:58 PM

Quote:

Originally Posted by Alteran Ancient (Post 1934995)
Edit the XML file and remove the "maxversion=" setting. The addon still works.

I deleted that but still not showing up in my admin options.

Can you just add a file for download to be compatible, thanks

TunerNetwork 12-22-2009 02:59 PM

Disregard my last, fix it!

HondaATC 12-22-2009 04:58 PM

Removing that line worked for me in vb gold too, thank you!

SledgeHead 12-23-2009 04:50 AM

Is there a way to add your own sub links?

Like...
" * New Posts
* Private Messages
* FAQ
* Calendar"

etc.?

fayax 12-23-2009 06:40 AM

FYI Works in vBcms 4 pl1 also. After upgrade didnt even have to reinstall. Good work!

sapgaurav 12-23-2009 09:20 AM

its not working with 4.0 gold, it should be upgrade, if its upgradde kinly mail me at sapgaurav@yahoo.com, i need this for http://forums.indianfresher.com

sapgaurav 12-23-2009 11:38 AM

when you will launch for vb4 gold?

Alex@Mk3OC 12-23-2009 12:15 PM

Got it installed and working fine on vb4 gold here

Bram H 12-23-2009 12:54 PM

How you did that ?

I am getting this message while importing 1.1:
Code:

1.This product is not compatible with version 4.0.0 of vBulletin. (Compatible starting with 4.0.0 Beta / Incompatible with 4.0.0 and greater)

adigaorg 12-23-2009 01:28 PM

please update for vb 4.0 gold

thedudleys 12-23-2009 02:23 PM

i would suggest editing it to say minversion="4.0.0" maxversion="4.2.0" in order to get it work until the OP can update themselves.

MattZ DSLR 12-23-2009 06:22 PM

Quote:

Originally Posted by Alex@Mk3OC (Post 1936300)
Got it installed and working fine on vb4 gold here

How did you get it installed?

rdrunnr 12-23-2009 07:31 PM

Quote:

Originally Posted by thedudleys (Post 1936419)
i would suggest editing it to say minversion="4.0.0" maxversion="4.2.0" in order to get it work until the OP can update themselves.

That's what I did and then it worked on Gold.

Alibass 12-23-2009 08:51 PM

Good mod, installed.

Maybe in your next update you keep the tab highlighted when it's used to redirect inside your website.

Alex@Mk3OC 12-24-2009 12:11 PM

Quote:

Originally Posted by MattZ DSLR (Post 1936688)
How did you get it installed?

I edited the xml file to change the maxversion

gillaraz 12-24-2009 01:01 PM

Change the original to minversion="4.0" maxversion="4.2" It works !!

Charlie98902 12-24-2009 01:03 PM

Yep works just fine now. When you update form a previous VB I didn't get it but upon a new install you have to edit the xml.

Elmer 12-24-2009 04:07 PM

Updated to work with vB4 Gold..

For the users that are asking to get tabs highlighted in custom pages, at this time it's not possible for me to do it. I haven't added any new feature, but I'm working in a new version that will make tabs more easily to add. However it will include 1 query, I think, I don“t know how many yet.

I will update this thread when this happen, but don't expect it to be released soon.

Cheers.

BozzaJos 12-24-2009 04:27 PM

Dear Elmer,

First of all, great mod! Does its job and does it pretty easy. One thing though:

I've added some new tabs using your mod. However, when I'm on the Forums and I click on one of the new tabs, the Forum tab stays highlighted. Also, the page of the new tab doesn't have a title. Is this a known problem and do you know how to fix this?

Thank you in advance Elmer!

Gnoll 12-24-2009 04:30 PM

i installed this mod @ RC4 need to update it ?

steven s 12-24-2009 04:33 PM

Quote:

Originally Posted by Gnoll (Post 1937385)
i installed this mod @ RC4 need to update it ?

If you downloaded the 1.1 version, then no.

Elmer 12-24-2009 06:39 PM

Quote:

Dear Elmer,

First of all, great mod! Does its job and does it pretty easy. One thing though:

I've added some new tabs using your mod. However, when I'm on the Forums and I click on one of the new tabs, the Forum tab stays highlighted. Also, the page of the new tab doesn't have a title. Is this a known problem and do you know how to fix this?

Thank you in advance Elmer!
The page title has nothing to do with the new tab, if you have a custom page then you should add your page title into your custom template or page. This addon doesn't support tab highlighting at this moment, but I'm trying to implement it, however I can't tell when will be done.

Alibass 12-24-2009 06:48 PM

Quote:

This addon doesn't support tab highlighting at this moment, but I'm trying to implement it, however I can't tell when will be done.
Thanks for working on this. :)

Alibass

macc 12-24-2009 06:52 PM

hello!
Nice mod, but found one problem when i tested on my test site ...

i put link to arcade and that should open in same window - works fine
but ...
when user is logged on board and use link to go to arcade and arcade open in same window - in that moment you lose info in navbar template - looks like is guest on arcade ..but in next step when you click on some game ..you can play ...like reg. user

reg

macc

fum1n 12-24-2009 07:13 PM

doesn't seem to work whatever I do. Tried on Vb 4.0 beta 3, beta 4 , gold pl1

junaid 12-24-2009 08:20 PM

Selected functions not work
Forum is selected always

baghdad4ever 12-25-2009 12:36 PM

thanks

installed

Riccardo83 12-25-2009 11:36 PM

adding facebook link groups doesnt work like Facebook|http://www.facebook.com/group.php?gid=125972630124 if you dont set =>blank or self....

grahamsmythe 12-25-2009 11:43 PM

This is beautiful.

How comes vBulletin didn't include something as simple as this in the base software?


All times are GMT. The time now is 05:50 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.01916 seconds
  • Memory Usage 1,819KB
  • 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_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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