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)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

Logician 01-20-2007 06:12 AM

Quote:

Originally Posted by LMimo (Post 1162918)
Hi,

Am I correct in assuming that the page name will always be prefixed with 'view'

I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.

eg rather than

forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage

I am looking for

forum/lovelylookingpage.html


Any tricks that I could do to get this working?

In the wt_include.php (and .htaccess file), you can change "view" part with anything you like and if you want you can make it something shorter but you have to use a prefix anyway

Logician 01-20-2007 08:10 AM

Quote:

Originally Posted by Icehawk002 (Post 1161303)
Exact same problem would like to fix so that can safely upgrade to 3.6.01

@people who use 3.6.x and need export webtemplate section fixed: Can you please PM your email address so that I can send you the fixed 3.6.x version for your testing?

kafi 01-20-2007 08:28 AM

Quote:

Originally Posted by kafi (Post 1162335)
How do I force webpage to be shown in certain styleid? Not according users or default choice, but just for this page?

THanks!!!


any answer to this one ? :-)

Logician 01-20-2007 08:35 AM

Quote:

Originally Posted by kafi (Post 1163314)
any answer to this one ? :-)

https://vborg.vbsupport.ru/showthrea...eid#post651570

LMimo 01-20-2007 03:29 PM

Quote:

Originally Posted by Logician (Post 1163280)
In the wt_include.php (and .htaccess file), you can change "view" part with anything you like and if you want you can make it something shorter but you have to use a prefix anyway

In my scenario quoted below, would a prefix of 'lovely' work? (naming the page 'lookingpage') OR will there always be a space(or underscore) between 'lovely' and the 'lookingpage' ?


"rather than

forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage

I am looking for

forum/lovelylookingpage.html"

kafi 01-21-2007 07:38 AM

Quote:

Originally Posted by Logician (Post 1163316)

well I tried that one ($styleid = X; put in phpinclude in template setup field) but it doesnt work for me.
any idea why ?


Many Thanks

Logician 01-21-2007 02:05 PM

Quote:

Originally Posted by LMimo (Post 1163509)
In my scenario quoted below, would a prefix of 'lovely' work?

It should work.

fishhub 01-21-2007 05:09 PM

how do I tweak 'What's Going On' to show members and guest viewing the custom pages?

any kind soul to assist.

TIA:)

Logician 01-21-2007 05:14 PM

Quote:

Originally Posted by fishhub (Post 1164423)
how do I tweak 'What's Going On' to show members and guest viewing the custom pages?

any kind soul to assist.

TIA:)

What do you mean? Hack already does it.

fishhub 01-21-2007 05:26 PM

Quote:

Originally Posted by Logician (Post 1164426)
What do you mean? Hack already does it.


ahh, sorry, I just tested it and found it already has.

Thanks alot.:D :up:

Icehawk002 01-23-2007 10:42 AM

Exporting one or a few templates works fine but when a large quantity are selected export fails.

Logician 01-24-2007 08:34 AM

Quote:

Originally Posted by Icehawk002 (Post 1165685)
Exporting one or a few templates works fine but when a large quantity are selected export fails.

How many WT do you export? I just tested importing 50 webtemplates with crowded content (XML file was 4 MB.) and it exported it fine.

Icehawk002 01-24-2007 01:27 PM

A lot 250 plus

I sent you a email in reply to the export fix.

Logician 01-24-2007 05:30 PM

Quote:

Originally Posted by Icehawk002 (Post 1166396)
A lot 250 plus

I sent you a email in reply to the export fix.

if this is a problem to you and if you don't mind my seeing your WT content, export
wt35_query
wt35_theme
wt35_webtemplate
tables via phpmyadmin and email the zip file to me so that I can test it in my localhost. I don't have a too large WT table to test myself.

stomph 01-26-2007 05:47 AM

Perfect, exactly what I was looking for! Thank you so much!! :)

Icehawk002 01-26-2007 05:49 AM

Quote:

Originally Posted by Logician (Post 1166532)
if this is a problem to you and if you don't mind my seeing your WT content, export
wt35_query
wt35_theme
wt35_webtemplate
tables via phpmyadmin and email the zip file to me so that I can test it in my localhost. I don't have a too large WT table to test myself.

Thank you I was unable to export the files however I have emailed you.

mrkhm 01-27-2007 12:12 PM

literally took me 5 minutes! amazing!!!! 3.6.4 :)

PoetJA-1975 01-29-2007 07:16 AM

Quote:

Originally Posted by mrkhm (Post 1168297)
literally took me 5 minutes! amazing!!!! 3.6.4 :)

yep - very nice for my 3.6.4
Smooth transition - thanx for the mod!
Really nice stuff!

Jacquii.

fishhub 01-29-2007 04:17 PM

how do i change the colour fonts at the copyright wordings? TIA

Quantnet 01-31-2007 07:08 PM

Wow...exactly what i've been looking for.

Click Install and Thanks

A small question (couldn't find answer after searching):

Would I be able to create a webtemplate that include the login box and then when the user login, it will show them different content based on their usergroup.

This page does not have to use VB template. I know I can use if conditions to display different content, i'm just not sure how to include the login box in the webtemplate.

This is an amazing mod.

Logician 02-01-2007 04:45 AM

Quote:

Originally Posted by Quantnet.org (Post 1171467)
Would I be able to create a webtemplate that include the login box and then when the user login, it will show them different content based on their usergroup.

Yes you can use vb conditionals to display different content depending on visitor's usergroup

Quantnet 02-01-2007 04:53 AM

Quote:

Originally Posted by Logician (Post 1171804)
Yes you can use vb conditionals to display different content depending on visitor's usergroup

Thanks for the response.

My main concern is the login box. I would like to have a seperate part of my website where the users login, got customized messages based on their usergroup (this I know I will use conditions).

This page does not have to contain any VB forum component. Just a plain page, login box, admin login, and message content.

Would you be able to point me to a template that does this ?

Logician 02-01-2007 05:05 AM

Quote:

Originally Posted by Quantnet.org (Post 1171807)
Thanks for the response.

My main concern is the login box. I would like to have a seperate part of my website where the users login, got customized messages based on their usergroup (this I know I will use conditions).

This page does not have to contain any VB forum component. Just a plain page, login box, admin login, and message content.

Would you be able to point me to a template that does this ?

Have you installed the hack and played with it? Actually its whole point is to do what you want. ;) You don't have to deal with login boxes yourself, you just set WT's permission as "guests can not see" so when a guest visits the page, he automatically gets "no permission page" with a login box and when he logins, he gets the content. Please play with the test templates for a while, I guess you'll understand the concept better.

Quantnet 02-01-2007 05:15 AM

Thanks Logican
I have installed and get the test pages to display correctly but i guess I haven't played it long enough to still ask these questions.

Actually, my original intention was somewhat different https://vborg.vbsupport.ru/showthread.php?t=137910

I found your mod accidentally and just realized it can do the application checking status using your mod and set different message based on usergroup. Quite happy.

I'll play some more.

Quantnet 02-01-2007 07:59 AM

I'm almost there, still need a bit of help.

I was able to get the login box displayed for guest, but this is the default VB login with all the headers, footer, forgot password, etc stuff

I only need a blank username, password box....

Is there a way for me just to get the 2 input boxes instead of the complete log in page ?

Logician 02-01-2007 08:11 AM

Quote:

Originally Posted by Quantnet.org (Post 1171886)
I'm almost there, still need a bit of help.

I was able to get the login box displayed for guest, but this is the default VB login with all the headers, footer, forgot password, etc stuff

I only need a blank username, password box....

Is there a way for me just to get the 2 input boxes instead of the complete log in page ?

First allow guests to see that WT. Then set a vb conditional in WT:
<if condition="!$bbuserinfo[userid]">

Put your simple form here and make it HTTP post to vb login.php

<else />

Your regular content..
</if>

Quantnet 02-01-2007 08:13 AM

Thumbs up. Thanks..

Now only if i know how to make it HTTP post to vb login.php

Even if i can't figure it out, your mod has 95% of what I need.

Thanks so much.

Logician 02-01-2007 08:31 AM

Quote:

Originally Posted by Quantnet.org (Post 1171899)
Thumbs up. Thanks..

Now only if i know how to make it HTTP post to vb login.php

Even if i can't figure it out, your mod has 95% of what I need.

Thanks so much.

Check the source code of any vb age as a guest and use the <form> </form> part of login section.

Quantnet 02-01-2007 08:37 AM

Got it. Rate 5 stars and vote MOTM.
I still couldn't believe I could use your mod to develop a whole college application status checking system. This is beyond expectation.

Thanks.

Logician 02-01-2007 09:22 AM

Quote:

Originally Posted by Quantnet.org (Post 1171914)
Got it. Rate 5 stars and vote MOTM.
I still couldn't believe I could use your mod to develop a whole college application status checking system. This is beyond expectation.

Thanks.

Thanks for the compliments and here is another clue:

If you use
<if condition="!$bbuserinfo[userid]">

Put your simple form here and make it HTTP post to vb login.php

<else />

$includedtemplate
</if>
in a theme webtemplate, then make sure your other wt's use this theme, you can manage your multiple pages which use this system much easier.

Quantnet 02-03-2007 03:18 AM

I have $WT_Login in my webtemp and the guest will see a log in box. But when they log in, there is no log out link? How would I include a log out link.

Also, when they log out, can i redirect them to any page ?

dcpaq2xx 02-08-2007 05:23 AM

Group,

I try to run the /wt_upgrade.php and it takes me to an export page for 3.0.

Whats up with that, please see attached screen shot.

Im running VB 3.6.4 and web templates is "suppose" to be 3.6.01 but the product manager is still showing it to be 3.5.0.05.

Im not quite sure whats going on here.

Doug

Logician 02-08-2007 07:12 AM

Quote:

Originally Posted by dcpaq2 (Post 1177304)
Group,

I try to run the /wt_upgrade.php and it takes me to an export page for 3.0.

Whats up with that, please see attached screen shot.

Im running VB 3.6.4 and web templates is "suppose" to be 3.6.01 but the product manager is still showing it to be 3.5.0.05.

Im not quite sure whats going on here.

Doug

Why do you run wt_upgrade.php? It is for upgrading your webtemplates from 3.0.x to 3.5.x. You don't have to run it unless you do this. If you moved from 3.5.x to 3.6.x, you don't have to do anything, WT will keep working.

dcpaq2xx 02-08-2007 07:16 AM

Quote:

Originally Posted by Logician (Post 1177362)
Why do you run wt_upgrade.php? It is for upgrading your webtemplates from 3.0.x to 3.5.x. You don't have to run it unless you do this. If you moved from 3.5.x to 3.6.x, you don't have to do anything, WT will keep working.

Im under the impression that thats how I upgrade, but ok, now I see and wont use that.

Your showing the latest version to be 3.6.01. Is that not the current version?

Doug

Logician 02-08-2007 07:26 AM

Quote:

Originally Posted by dcpaq2 (Post 1177365)
Im under the impression that thats how I upgrade, but ok, now I see and wont use that.

Your showing the latest version to be 3.6.01. Is that not the current version?

Doug

Don't mind the version numbers much if you downloaded the latest script from this thread while upgrading.

The version in this thread will work with 3.5.x and 3.6.x but it has a minor glitch in 3.6.x regarding "wt export" section. I'll release a fixed 3.6.x version soon in 3.6.x hacks section and I believe this will also cure the confusion some people are having when they find this hack under 3.5.x category.

But until I do that, you are fine. WT you downloaded from here will work flawlessly in your 3.6.x vbulletin. Just don't attempt to export your existing webtemplates for now. :)

dcpaq2xx 02-08-2007 07:32 AM

Logician,

I dont think you understand.

Im not at all confused about what versions work with what version of vbulletin.

All I wanted to do was upgrade my version of Web templates because I thought that there was a newer version from what I currently have installed.

3.6.01 vs 3.5.0.05

I have done a file and database restore to my board and Im back to where I was, no biggie, ill just continue to use the version I have installed as it seems to work fine for what im going to do with it.

Please let us know when you do release an updated version.

Thanks

Doug

Logician 02-08-2007 07:35 AM

Quote:

Originally Posted by dcpaq2 (Post 1177378)
Logician,

I dont think you understand.

Im not at all confused about what versions work with what version of vbulletin.

All I wanted to do was upgrade my version of Web templates because I thought that there was a newer version from what I currently have installed.

3.6.01 vs 3.5.0.05

I have done a file and database restore to my board and Im back to where I was, no biggie, ill just continue to use the version I have installed as it seems to work fine for what im going to do with it.

Please let us know when you do release an updated version.

Thanks

Doug

So you downloaded the latest hack from this thread and installed it. Do you see 3.6.01 in the footer of your webtemplates? If so you are ok. The version number in the product manager section is irrelevant. What it matters is version number in the footer.

Quantnet 02-08-2007 09:23 AM

Logician, when you have a chance, would you be able to take a look at
Quote:

I have $WT_Login in my webtemp and the guest will see a log in box. But when they log in, there is no log out link? How would I include a log out link.

Also, when they log out, can i redirect them to any page ?

JAYEMULE 02-08-2007 07:53 PM

This is just wonderful! I love it and thank you so kindly for offering to us. :) This makes forum life sooo easy !
Thanks again.!


Jaye

dcpaq2xx 02-08-2007 10:31 PM

Quote:

Originally Posted by Logician (Post 1177380)
So you downloaded the latest hack from this thread and installed it. Do you see 3.6.01 in the footer of your webtemplates? If so you are ok. The version number in the product manager section is irrelevant. What it matters is version number in the footer.

Logician,

Where can i find detailed instructions on how or what is the best way to upgrade?

Thanks

Doug


All times are GMT. The time now is 06:04 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.02046 seconds
  • Memory Usage 1,845KB
  • 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
  • (25)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