The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 3.7.x: VB Integrated CMS (Content Management System) Details »» | |||||||||||||||||||||||||||
WebTemplates 3.7.x: VB Integrated CMS (Content Management System)
Developer Last Online: Nov 2023
(This hack is for vb version 3.7.x & 3.8.x ONLY. For vb 3.6.x, 3.5.x, 3.0.x and 2.x see my profile for relevant threads.)
"WebTemplates" is a vBulletin integrated Content Management System which allows you to create vb integrated "HTML" pages in your vb admin cp very easily. The pages can inherit your vbulletin skin/style, can recognize logged-in user, can be applied permissions per user or usergroup basis, can keep visit logs, hit counts and do many more. VB4 version Update (9.9.2010): Please find 4.x version of WebTemplates4.x in its own thread. WEBTEMPLATES 3.7.x BASIC FEATURES:
(Some 3.5 and some are 3.0 versions but WebTemplate look and feel didn't change much so both will give you the idea.) http://www.worldwideknights.com/view_mission.htm http://www.theadminzone.com/forums/view.php?pg=aboutus http://www.hystersisters.com/vb2/view_guidelines.htm http://www.worldwideknights.com/view_info.htm http://www.hystersisters.com/vb2/view_books.htm http://www.worldwideknights.com/view_spread.htm http://www3.fertilethoughts.com/forums/view.php?pg=acronyms http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter http://www.bklab.com (entire site is designed with Webtemplates only) (Actually this hack is one of the most popular vb hacks so it is used by hundreds -if not thousands- of vbulletin sites and you can easily find them if you go to google and search "Logician's WebTemplates" WITH quotation marks) 3.5 version Admin CP screenshot attached to this post. 3.0.x screenshots (here and here) also still applies for this version. If you use the hack, clicking here will make sure you'll know about updates&bug fixes. It will also help me understand how many people is using the hack so please click the install button if you use it. Thank you.. About this 3.7.xx Version: This 3.7.xx version is same as previous 3.6.x version. 3.6.x version was already working in vbulletin 3.7.x except a few minor bugs and these bugs are fixed in this version to make it dedicated solely to vbulletin 3.7.x. Please see "what's new" in the next post for more details. Version Updates: 29.July.2008 - > Version 3.7.00 * Hack 3.7.00 is released. Show Your Support
|
2 благодарности(ей) от: | ||
Xexiu |
Comments |
#252
|
|||
|
|||
Thanks Logician, for a really cool mod. It works like a charm. I am having a minor template issue, though, and can't figure out where it's coming from.
In the navbar template, there's the top row which contains the "navbits_start.gif" folder-looking icon file. Using this webtemplate, while that folder icon sits okay to the lefthand side, the beadcrumbs next to this image file centered inside its TD column rather than sitting justified to the left next to that folder icon. It only happens with our default "Transparencity+" style, as all other selected styles render the navbar within your webtemplates okay. And when I compare word for word, both navbar templates look identical to me (the one which is mysteriously centered and another which is fine), and so it might be in a CSS section perhaps. I wish I knew where to look to find out why the breadcrumbs want to float away to the center. Any pointers appreciated. |
#253
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
WHERE sticky=0 AND visible=1 AND (forumid=103 OR forumid=104 OR forumid=105) $letterquery |
#254
|
||||
|
||||
Quote:
|
#255
|
|||
|
|||
do you allow css coding on webtemplate, i wish to add rounded boxes
|
#256
|
||||
|
||||
Quote:
<if condition="THIS_SCRIPT==view"> your css for webtemplates </if> |
#257
|
|||
|
|||
thanks but exactly where do i add it, i added on style manager, forum skin, main css but it doesnt work
please be a little more specific have this PHP Code:
i dont want to use image to get the corners so i chose js instead but where will i add this js file? PHP Code:
|
#258
|
|||
|
|||
Is there a way for me to create an html frameset page? I want to create a page with top fixed frame and second frame with scrollable.
How can I do that with this hack? Thanks. |
#259
|
|||
|
|||
I'm using the '$WQ_testpagination' query to fetch a list of all the posts on my forum, see here http://www.sparklywater.com/posts.html. I have set the 'rows per page' setting to 30 in the 'PHP include' section of the webtemplate, like this:
Code:
$vbulletin->input->clean_array_gpc('r', array( 'pagenumber' => TYPE_INT, 'perpage' => TYPE_INT, )); $pagenumber = $vbulletin->GPC['pagenumber']; $perpage = $vbulletin->GPC['perpage']; // ---------------------------------------------- // Pagination // ---------------------------------------------- //total actions records $totalrecordsC = $db->query_first(" SELECT COUNT(*) AS record FROM " . TABLE_PREFIX . "thread AS thread INNER JOIN " . TABLE_PREFIX . "post AS post on (post.postid = thread.lastpostid) INNER JOIN " . TABLE_PREFIX . "forum AS forum on (thread.forumid = forum.forumid) "); $totalrecords = intval($totalrecordsC['record']); // set defaults for pagination if ($perpage == 0 or $perpage > 1000) {$perpage = 30;} if (!isset($pagenumber) or $pagenumber == 0) {$pagenumber = 1;} $limitlower = ($pagenumber - 1) * $perpage + 1; $limitupper = $limitupper = ($pagenumber) * $perpage; if ($limitupper > $totalrecords) { $limitupper = $totalrecords; if ($limitlower > $totalrecords) {$limitlower = $totalrecords - $perpage;} } if ($limitlower <= 0) {$limitlower = 1;} $sel_limitlower = $limitlower; $sel_limitlowerminus1 = $sel_limitlower -1; $pagenav = construct_page_nav($pagenumber, $perpage, $totalrecords, "$WT_Option_NameOFviewphp?$session[sessionurl]pg=$pg&perpage=$perpage"); // -- /Pagination} On the third page of my results, there are currently 25 rows / posts listed, so this should be the last page in the results (ie. no fourth page). However, in the pagenav at the bottom-right hand side, the 4th page number is listed and when clicking on page 4, the table simply states "No threads to List" (ie. the 'No Results Row' value). This 4th page is unnecessary because the final rows of results already ended on page 3. Is there any way to fix this? |
#260
|
||||
|
||||
Quote:
Quote:
|
#261
|
|||
|
|||
logician, would you able to help me with above question?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|