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)

Kihon Kata 01-19-2006 07:11 PM

Would this increase server load? or DB queries?

Quote:

Originally Posted by Logician
Another idea would be running your code in vbulletin's PHPinclude section, make them ready as variables and use these variables in your custom webtemplate headers.


Logician 01-19-2006 07:43 PM

Quote:

Originally Posted by TonysDesigns
Would this increase server load? or DB queries?

can't say anything without seeing your code but if it is a simple code that does not connect to DB, I'd say no

digitalSite 01-19-2006 11:37 PM

Edit: How do I display "Current members online" instead of "Current members viewing this webtemplate"? In other words, I would like to display the member usernames who are currently logged in, just like at the bottom of FORUMHOME. Thank you!

Thank you for this hack!

Guest210212002 01-20-2006 02:41 AM

Quote:

Originally Posted by rasp187
How can I change the name of this in the AdminCP to just "WebTemplates" as well as putting it below the vBulletin Options link?

[high]* Guest210212002 would also like to know[/high]

digitalSite 01-20-2006 03:13 AM

Also, according to the manual, there is a vB template (not a webtemplate) that is named "WebTemplates_MemberLoginCode," but I do not see this one, I only see "WebTemplates_VisitorLogMain" and "WebTemplates_LoginCode" and some others. Does anyone else have this issue, or is it only me?

If it's just me, where can I change the look of the login box once a member has signed in? Or where can I get the Visitor template, if I am indeed missing it?

Thanks!

Logician 01-20-2006 06:48 AM

Quote:

Originally Posted by Chris-777
[high]* Chris-777 would also like to know[/high]

You have to play with this line at /includes/xml/cpnav_webtemplates.xml:

PHP Code:

navgroup text="Logician's WebTemplates" hr="true" displayorder="1" 


Logician 01-20-2006 06:50 AM

Quote:

Originally Posted by digitalSite
Also, according to the manual, there is a vB template (not a webtemplate) that is named "WebTemplates_MemberLoginCode," but I do not see this one, I only see "WebTemplates_VisitorLogMain" and "WebTemplates_LoginCode" and some others. Does anyone else have this issue, or is it only me?

If it's just me, where can I change the look of the login box once a member has signed in? Or where can I get the Visitor template, if I am indeed missing it?

Thanks!

Template named "WebTemplates_LoginCode"

Kihon Kata 01-20-2006 01:18 PM

I upgraded mine from .04 to .05 per instructions and it worked great. Didn't lose any templates.

Here is an example of some of mine:
  1. Example of a Non vB page using this: http://www.makeuptalk.com/forums/vie...alk-newsletter
  2. Example of a vB page using this: http://www.makeuptalk.com/forums/vie...ewinnerscircle
(Logician, add me to your examples!! ;))

Took some tweaking to make it work outside my forums, but the way Logician setup the viewing permissions, it simply rocks!


Quote:

Originally Posted by Logician
Template named "WebTemplates_LoginCode"


Guest210212002 01-20-2006 01:53 PM

Quote:

Originally Posted by Logician
You have to play with this line at /includes/xml/cpnav_webtemplates.xml:

PHP Code:

navgroup text="Logician's WebTemplates" hr="true" displayorder="1" 


Thankya. I got it renamed no prob, just can't get it below the main options.

Code:

<navgroup text="WebTemplates" hr="true" displayorder="3">

digitalSite 01-20-2006 02:01 PM

Quote:

Originally Posted by Logician
Template named "WebTemplates_LoginCode"

Thanks Logician! I always enjoy your hacks! I have a few more questions...

1) I have created a WebQuery that displays the "Last 10 threads" from any forum, but I would like to show only a limited number of characters in a thread title. In other words, I don't want the entire title displaying, instead, I would like to show something like: "This is a sample..." - Any help on this is greatly appreciated!

I have tried SELECT id, LEFT(title, 20), etc. but this didn't work for me.


2) I would like to remove the Powered by in the footer. How much do you charge to remove it?

Thanks!


All times are GMT. The time now is 12:41 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.01740 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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