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)
-   -   Profile Enhancements - Quick Account Switch (https://vborg.vbsupport.ru/showthread.php?t=132741)

nymyth 05-03-2007 11:22 AM

^^yeah i have this problem now too, after i upgraded to 3.6.5

Fixed:

There was a change in the navbar code from the older version:

Code:

<if condition="$show['qas_switch']">
-- this is what it is now

Code:

<if condition="$show['switch']">
-- this is what it was before....

Works fine now....

dutchbb 05-03-2007 05:07 PM

I can see the drop down button but it doesn't show a menu when clicked. It's the correct one with the 'qas_switch'

lostgirl815 06-18-2007 05:26 AM

If you only change the templates on one style, will the ID switch only be available on that style?

akanevsky 06-18-2007 11:34 AM

Quote:

Originally Posted by lostgirl815 (Post 1270707)
If you only change the templates on one style, will the ID switch only be available on that style?

Since you make the template changes to a specific style, the chooser will, of course, only appear on that style. Unless you have nested styles and the children's version is unmodified.

lostgirl815 06-18-2007 06:53 PM

Great! That's what I was hoping.

akanevsky 06-18-2007 06:58 PM

Quote:

Originally Posted by lostgirl815 (Post 1271172)
Great! That's what I was hoping.

However, if the person knows the URL's from the chooser, those URL's can be used regardless of the style.

lostgirl815 06-18-2007 07:04 PM

That's fine - they'd still need to be registered to know about it in the first place.

I'll mark this installed, although I haven't installed it yet. (That'll take awhile to figure out.) :)

akanevsky 06-18-2007 07:05 PM

Quote:

That's fine - they'd still need to be registered to know about it in the first place.
They won't know about it unless they are linked from the admincp. Or approved via request from usercp. :)

lostgirl815 06-18-2007 07:08 PM

Perfect! :) This is a great hack, I really missed that feature changing from EZ to vBulletin!

lostgirl815 06-24-2007 02:01 AM

Any chance someone will take pity on me and tell me what this means?

Quote:

Example: If you need to copy ./admincp/thehack.php to ./somefolder/thehack.php, it would mean that you need to copy a file, called thehack.php from the admincp subfolder of the package you have downloaded to the somefolder subdirectory of your forum engine.
Where's the admin subfolder? Where's the subdirectory of my forum engine? What's a forum engine?

raiderlax 06-24-2007 03:57 AM

Does this work on 3.6.7???

ragtek 06-24-2007 06:00 AM

yes

why you don't try it yourself?

akanevsky 06-24-2007 02:03 PM

The forum engine is the whole vBulletin software package.
The subdirectory of your forum engine is where you've uploaded vBulletin files when you installed it.
The admin subfolder is the folder called "admin" in the place where you've uploaded vBulletin files.

rayw 06-25-2007 03:13 AM

This is great mod. Thanks a lot! :D

Quote:

Originally Posted by Psionic Vision (Post 1170786)
Please use is_member_of($bbuserinfo, 2, 6, 7) in the conditional instead of what he posted.

I've just set this up for Admins and Mods (usergroups 6 and 7) and it works great.

*Clicks Installed

rayw 06-25-2007 04:11 AM

Is there a way to add the post count of each user that is in the drop-down menu? I've tried adding $post[posts] but it doesn't display anything?

Thanks :)

lostgirl815 06-25-2007 07:30 AM

Anybody???? I've uploaded the product, I've changed the templates, but I don't know what this means:

Quote:

Example: If you need to copy ./admincp/thehack.php to ./somefolder/thehack.php, it would mean that you need to copy a file, called thehack.php from the admincp subfolder of the package you have downloaded to the somefolder subdirectory of your forum engine.
Where am I supposed to be where I would see this folder? In cPanel? In the admin panel? I don't see it! And nobody who says they'll install Mods for a price is answering their PMs.

rayw 06-25-2007 08:00 AM

Quote:

Originally Posted by lostgirl815 (Post 1275958)
Anybody???? I've uploaded the product, I've changed the templates, but I don't know what this means:

Where am I supposed to be where I would see this folder? In cPanel? In the admin panel? I don't see it! And nobody who says they'll install Mods for a price is answering their PMs.

I had no idea what it meant either, so I skipped that part. Everything appears to be working perfectly fine though.

lostgirl815 06-25-2007 08:03 AM

Thank you for your reply! Could you tell me, where are you switching IDs? I see the form to link them, I don't see anything for switching them. (I'm perfectly happy to leave it out if it worked for you.)

--------------------never mind, figured that out ----------------

You're right - it works without that file upload, whatever it was. Thank you again!

Trana 06-26-2007 02:10 AM

I installed this and after a day or so all of the users who had a linked account started getting major errors in IE which caused the browser to close. Anyone else experience something like this?

Thanks.

ragtek 06-26-2007 09:57 AM

i have no problems with this hack

lostgirl815 06-26-2007 06:12 PM

So far so good here, although I never did upload that other file.

nymyth 06-26-2007 06:19 PM

any luck with this and VBAdvanced?

kjhkjh 07-05-2007 03:01 AM

I'm still having a problem with one of the template changes:

Can't find
Quote:

<!-- / PAGENAV POPUP -->
in navbar


I've searched and can't find it there, i guess another mod may have changed it, like the mood mod, or number of new threads... does anyone have advice on this?

Plus the info on uploading that file as the other memmebrs have mentioned above was sketchy... can anyone clear this up?

Tanks

nymyth 07-05-2007 12:37 PM

Quote:

Originally Posted by kjhkjh (Post 1283137)
I'm still having a problem with one of the template changes:

Can't find


in navbar


I've searched and can't find it there, i guess another mod may have changed it, like the mood mod, or number of new threads... does anyone have advice on this?

Plus the info on uploading that file as the other memmebrs have mentioned above was sketchy... can anyone clear this up?

Tanks

Look for a block of code similar to this - It should be near the bottom of the navbar template

Code:

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                        </form>
                        </td>
                </tr>
                </table>
        </div>

Put the code after it.

nymyth 07-05-2007 12:39 PM

Quote:

Originally Posted by lostgirl815 (Post 1277127)
So far so good here, although I never did upload that other file.

There isnt another file for that. I think he uses his html install page for all his mods, and some of them require the addition of a custom php page to be uploaded to your server.....for this hack you can just ignore it

Peace

kjhkjh 07-05-2007 12:41 PM

thanks myth...

turned out my navbar template didnt have that block of code, but i saw that it did originally exist in the default template, so I pasted it back in... fingers crossed it doesn't affect my other mods.

Thanks again

rainyleaves 09-13-2007 05:36 PM

Awesome mod.

But I think this mod have little bug.
I get database error when I didn't input username and password and click 'Link Account' button.
Quote:

Database Error

Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the ****.net home page, then try to open another page.
* Click the Back button to try another link.
I think this mod have not standard error page like this.
'You didn't input username or password!'

Please... Anybody who can fix?
Thanks.

bazzup 09-13-2007 07:12 PM

Excellent mod don't know why we have'nt installed this before, as me and my better half are both admin on our forums

rnmcd 09-19-2007 01:59 AM

Quote:

Originally Posted by Slave (Post 1127814)
Oh, and if you have things like vBGallery or vBlogetin installed you need to edit the .xml to put your full URL in front of one instance of login.php in one of the templates before installing the product.

Seems to work on all pages then :)

Can someone explain what Slave is talking about. I have vBGallery installed and am considering installing vBlog.

Thanks.

rainyleaves 10-08-2007 05:56 PM

Quote:

Originally Posted by Slave (Post 1127810)
Looks like adding "switchbit" to "Portal Output Global Variables" in vBa's Default settings page did the trick :)

Thanks!!

HellBoy 11-12-2007 10:22 AM

Great, this is just what I was looking for! :)

rayw 03-06-2008 09:21 AM

Anyone have this running on 3.7 by any chance???

rayw 03-06-2008 07:47 PM

Ok, it does work with 3.7 but the code in the navbar is a little different. Apart from that, the product installs perfectly as far as I can tell.

plothook 04-26-2008 02:31 AM

Anyone else having problems with this and the new security tokens in 3.6.10?

The problem shows up when you make new linkages, but the actual switching still works perfectly.

plothook 04-26-2008 05:34 AM

found the problem
edit template USERCP and find where you added (when you added this product):
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and after it, add
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

-----------------------------------------------------------------------
EDIT: The above is all you need to fix the issue, but what I ended up doing was take all the code out of USERCP and made a new template called qas_usercp

and then added a plugin for this product at usercp_complete with the following code
Code:

eval('$template_hook["usercp_main_pos6"] = "' . fetch_template('qas_usercp') . '";');
and changed the code in the cache_templates plugin for this product to:
Code:

$globaltemplates[] = 'qas_switchbit';
if (THIS_SCRIPT == 'usercp') {
        $globaltemplates[] = 'qas_usercp';
        $globaltemplates[] = 'qas_userbit';
}

And then I reverted template USERCP - reverted templates are good. Once less template to review at the next upgrade!

VPI97 04-26-2008 04:35 PM

plothook - Could you be a little more specific with what you did to fix the issue? I'm having a little trouble following along.

Thanks

Edit - Nevermind, I figured it out

lostgirl815 05-25-2008 11:11 PM

Has anybody tried this on 3.7 yet?

Veer 06-04-2008 10:41 PM

any update?

Veer 06-14-2008 08:54 AM

Doesn't work with vb 3.7.0

Getting error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Any help?

lostgirl815 06-15-2008 06:19 AM

Thanks for posting that. Rats! I used that one for a lot of games.


All times are GMT. The time now is 01:36 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.01567 seconds
  • Memory Usage 1,828KB
  • 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
  • (7)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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