![]() |
Please do post some clarification - I use WT a TON, and I have no idea what you're asking. :D
|
Quote:
You have the two column template. There are two tables with the stock one. As far as I can tell the only editable one (by the users who are able to edit them but don't have access to the admin CP) is the one on the right (herein referred to as the main table). On the left column (the smaller column) you have the secondary tables. My question - is it possible to add more "secondary tables" which are editable by the people who are allowed to with the HTML template editor (the basic one) and multiple boxes (one for each "table"). Does that make sense? What does is the fact that I need sleep :D. |
Quote:
The crucial point is that you can make any part of a theme editable. So if you want to a section in the left column be editable, then you can edit your theme and put $includedtemplate variable to that section instead of into the right column. However this variable is unique per theme so you have to put it into one section only. In other words you can NOT make it so that one section in the right and another section in the left is editable at the same time in editor interface. Hope this sheds a light |
I just wanted to chime in and say thanks for this addon Logician, my site wouldn't be the same without it. :)
|
Quote:
|
I have a question. Is there a way to make the headers/footers parse php? I use your system here, it's the bomb, but I would like my templates to remain HTML only(user editing purposes). The problem is tht mysite is run on PHP and when I construct sections user this system OUTSIDE my forums, I have to make it parse the template in PHP(plus include some php functions in the template) to make it work. I could easily include that in the custom header, but the header doesn't work with php.
Logician, let me know what you think. |
Quote:
|
How can I change the name of this in the AdminCP to just "WebTemplates" as well as putting it below the vBulletin Options link?
|
Logician
My current site uses a cms that is custom: it is still using vb 3.0.7 (patched) and the CMS is totally custom and uses a the template system within vb http://www.sportsrant.com is actually a vb template called vb_news could this template be used in your system, just wanted your input this is a rather impressive system, nice job sir regards Mike Sportsrant.com |
Quote:
|
Would this increase server load? or DB queries?
Quote:
|
Quote:
|
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! |
Quote:
|
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! |
Quote:
PHP Code:
|
Quote:
|
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:
Took some tweaking to make it work outside my forums, but the way Logician setup the viewing permissions, it simply rocks! Quote:
|
Quote:
Code:
<navgroup text="WebTemplates" hr="true" displayorder="3"> |
Quote:
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! |
This seems to be very nice. My asociate runs the other way when I open vb and vbportal cp's. Now he can just ask for a new page and voila he can edit a page as much as he likes.
Found a minor bug or two tho when placing an image into and editor for TEXT. You can wrap it ok with img bb tags and save, but when you go to edit it again its wrapped it has parsed the url and needs the img tags redoing. Is there anyway to have the dont parse urls checkbox to the editors ? |
Quote:
Quote:
|
Quote:
|
Quote:
SELECT id, SUBSTRING(title, 0 20).. Please see here http://www.webmasterworld.com/forum88/6209.htm for more info |
Quote:
|
Quote:
|
Quote:
How do we get last 10 to show? Thanks so much...you should have received an email from PayPal ;) |
Quote:
When this is fixed I can consider installing. :) |
Quote:
|
Quote:
|
Quote:
WHERE t.forumid = '1','2','3', etc.? Thanks! I tried removing this WHERE t.forumid = (because I want from ALL forums) and replaced it with WHERE t.open = '1' AND t.visible = '1', but then the titles don't get limited and it posts the entire title. OMG, I'm having a hard time with this...I noticed that when I run your code, it cuts the title to the limit you specify, but when I copy/paste your code into my webtemplate, it diplays the number of posts correctly, but doesn't cut off the title...any ideas why yours works and mine doesn't? |
Quote:
If you want to restrict title, you need to apply the left() to the title section too: SELECT t.threadid, LEFT(t.title, 10) as title, t.firstpostid, t.lastpost, t.replycount, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, LEFT(p.pagetext, 10) as pagetext FROM " . TABLE_PREFIX . "thread t LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid WHERE t.open = '1' AND t.visible = '1' ORDER BY t.dateline DESC LIMIT 0 , 5 |
Quote:
For a look at my site, here is what it looks like now (my site is still under construction): http://www.naturalbeautycafe.net/ THANKS! |
Quote:
|
Quote:
|
Thanks I've been looking for this. Just upgraded from vb 3.0.11. Lost the webtemplets. ** installs **
H :D |
Quote:
|
Its most strange, its only swapping IMG bb tags for URL= tags on my test install. I cannot replicate it live either. I decided to go for it anyway as this by all accounts is a long standing mod, so if its not happening to anyone else it must be some wierd setting somewhere making it happen. :)
I thought perhaps it was a style issue as I havent updated all the styles on my dev box but I've pretty much ruled that out aswell, it does do it in vb's default style which is untouched. One comment the page title seems to not be editable in the front end only in CP. Might be nice to have some inline stuff on this mod for bits like that. |
thanks for this hack
|
Hmm.. I'd like to allow certain usergroups to edit pages, which already works great with a few flaws. On my board with about 500 users I have only one admin beside me.. there are several sections with a own leader group but no access to control panel.
1. the editors should be able to toggle the draft flag and should be able to see the page in draft 2. the editors should be able to change the view permission. Ideally I only create the page, set the allowed webquerys and let the editors do the rest. Even better if I could allow them to create pages themself, but without any possibility to add php code or include files or stuff like that :) |
All times are GMT. The time now is 05:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|