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)
-   -   Add-On Releases - jQt jQuery Suite for vB4 (https://vborg.vbsupport.ru/showthread.php?t=267121)

gothicuser 12-16-2011 07:32 PM

Quote:

Originally Posted by smirkley (Post 2278106)
On CMS, logout login/reg overlay does not work on any CMS page.

Human verification does not show on CMS using IE and Firefox in register overlay, and does not show on any site page using Internet Explorer.

It must be old age... mine!
I have a minor repair and explaining to do.
In the early versions I had to use the THIS_SCRIPT method of where to display, omitting the irrelevant pages, the CMS being one, this was because to display the human verify on non-index pages meant a lot more hard labor. Now, in the later versions I have partly overcome this but have not completed the code for it to display correctly on these other pages (CMS included).
Please forgive my negligence, I will (try to) make good over this weekend and post an update as soon as it's ready.

p.s. Got your PM, many thanks for the feedback and watch this space ;)

ndahiya 12-16-2011 08:14 PM

This looks great, but too many template edits to do!
Has anyone made the edits in TMS (Template Modification System?) - or planning to do them? Would be so much easier if it was in TMS... Hope...

N.

gothicuser 12-16-2011 08:20 PM

Smirkley, Forget I spoke.
Big time boo boo

gothicuser 12-16-2011 08:22 PM

Quote:

Originally Posted by ndahiya (Post 2278436)
This looks great, but too many template edits to do!
Has anyone made the edits in TMS (Template Modification System?) - or planning to do them? Would be so much easier if it was in TMS... Hope...

N.

I did originally make all the template edits automatic, done through plugins, but the vast variety of 3rd party themes and styles that the auto-templates didn't work on decided me to go the manual way.
What is this TMS? I'll have to have a butchers that this I think.

ndahiya 12-16-2011 08:50 PM

Quote:

Originally Posted by gothicuser (Post 2278439)
I did originally make all the template edits automatic, done through plugins, but the vast variety of 3rd party themes and styles that the auto-templates didn't work on decided me to go the manual way.
What is this TMS? I'll have to have a butchers that this I think.

www.vbulletin.org/forum/showthread.php?t=152931

It is really awesome. I do not make ANY template edits any more directly. all in TMS. much easier to turn on/off, keep track of, see if something broke etc.

ndahiya.

edit: if you make it a product under the master style, then all custom templates will inherit the changes as well. in case some of the changes do not work (because the underlying templates have been changed), it will show which are not working....

smirkley 12-16-2011 11:41 PM

Quote:

Originally Posted by gothicuser (Post 2278438)
Smirkley, may have a temporary solution to the CMS issue.
Open the jqt_logreg template and near the bottom find:
PHP Code:

     <vb:if condition="THIS_SCRIPT == 'index' || THIS_SCRIPT == 'adv_index'">
<
vb:if condition="$vboptions['jqt_suite_logreg_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
<
div id="hummer" style="max-width:65%;">
 &
nbsp; {vb:raw human_verify}
</
div>
</
vb:if></vb:if> 

and replace with
PHP Code:

<vb:if condition="$vboptions['jqt_suite_logreg_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
<
div id="hummer" style="max-width:65%;">
 &
nbsp; {vb:raw human_verify}
</
div>
</
vb:if> 

It should work until I fix it permanently.

Yes, this seems to do the trick for FireFox, but the human verification still does not show up on any site pages using IE(9).

Interesting though is that the log/reg popup layout is slightly out of kilt now and only on the cms page, but the human verification displays now on cms. (untested atm)

gothicuser 12-17-2011 04:49 AM

Quote:

Originally Posted by smirkley (Post 2278475)
Yes, this seems to do the trick for FireFox, but the human verification still does not show up on any site pages using IE(9).

Interesting though is that the log/reg popup layout is slightly out of kilt now and only on the cms page, but the human verification displays now on cms. (untested atm)

Am working on that update this morning, that fix I issued was wrong :(
It's that same problem of the script (this time the human verify) only being allowed once on a page. I do need to use the THIS_SCRIPT method so it doesn't clash elsewhere.
To add the CMS page change that code in the jqt_logreg template from
PHP Code:

<vb:if condition="THIS_SCRIPT == 'index' || THIS_SCRIPT == 'adv_index'">
<
vb:if condition="$vboptions['jqt_suite_logreg_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
<
div id="hummer" style="max-width:65%;">
 &
nbsp; {vb:raw human_verify}
</
div>
</
vb:if> </vb:if> 

Replace with
PHP Code:

<vb:if condition="THIS_SCRIPT == 'index' || THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'vbcms'">
<
vb:if condition="$vboptions['jqt_suite_logreg_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
<
div id="hummer" style="max-width:65%;">
 &
nbsp; {vb:raw human_verify}
</
div>
</
vb:if> </vb:if> 


gothicuser 12-17-2011 12:39 PM

Quote:

Originally Posted by ndahiya (Post 2278446)
It is really awesome. I do not make ANY template edits any more directly. all in TMS. much easier to turn on/off, keep track of, see if something broke etc.

You're not kidding, I been a member for too many years to remember, and this is the first I have paid attention to that mod. What a revelation http://www.cornishserver.com/01.gif
Easy to use too, gets even better.

gothicuser 12-20-2011 06:37 AM

This is the fix for the IE9 Positioning problem for the Login/Register Overlay
In your 'jqt_logreg' template, very near the top, find:
PHP Code:

<div id="jqt_logreg_container" style="margin:auto;"

and replace with:
PHP Code:

<div id="jqt_logreg_container"

I will be updating the package later today, after further testing.

ndahiya 12-20-2011 03:04 PM

Thanks for the mod and for using TMS templates. took all of 30 secs to install!

one thought: would it be possible to separate login and register options? my forums use some mandatory fields for register, so i can not use the register popup. but would still like to use it for login (and register would redirect to the register page).

TIA

ndahiya


ps: the TMS edits can be part of the product XML as well: see this product for example : https://vborg.vbsupport.ru/showthread.php?t=266696


All times are GMT. The time now is 09:11 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.01396 seconds
  • Memory Usage 1,772KB
  • 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
  • (6)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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