vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

mmoore5553 02-17-2009 09:55 AM

this has nothign to do with the mod ....webtemplates is a blessing ...

this just pulls your header and footer and other information.

Since you did not want this to be in your navigation bar then all you had to do was remove it from the navigation bar
blog_navbar_link template

you just had to comment out the line per below. This will take it out of the navigation bar at top for everything .

Code:

this was located at <!-- <td class="vbmenu_control"><a id="vbbloglinks" href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a><script type="text/javascript">vbmenu_register("vbbloglinks");</script></td> -->

zelnik 02-17-2009 09:59 AM

Quote:

Originally Posted by mmoore5553 (Post 1746707)
this has nothign to do with the mod ....webtemplates is a blessing ...

this just pulls your header and footer and other information.

Since you did not want this to be in your navigation bar then all you had to do was remove it from the navigation bar
blog_navbar_link template

you just had to comment out the line per below. This will take it out of the navigation bar at top for everything .

Code:

this was located at <!-- <td class="vbmenu_control"><a id="vbbloglinks" href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a><script type="text/javascript">vbmenu_register("vbbloglinks");</script></td> -->

Brilliant thanks! :)

zelnik 02-17-2009 10:00 AM

VBSEO problem..

Is there an easy fix?

I have added the content to my htaccess file, turned on SEO in the vboptions/webtemplates.

My site then tries to load a SEO friendly url but 404's even on the default examples that are in webtemplates.

Any ideas?

ryancooper 02-17-2009 10:31 PM

I love this addition to my boards. I am currently in the process of taking all my static pages and moving them into webtemplates.

One Question: How can I get a webquery that shows the latest 5 posts with the word X in the title.

On each page I want to show the latest 5 posts that have to do with the subject of that page. Thanks!

ryancooper 02-17-2009 10:38 PM

I tried something like this and it didn;t work

Code:

SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1 AND title=castle
ORDER BY dateline DESC
LIMIT 5

I was trying to show the 5 latest posts with the word castle in the subject line.

1Unreal 02-24-2009 05:44 PM

Could someone tell me how to put the following code into a page please. I don't understand this mod at all :|

PHP Code:

<?php
include('includes/config.php');

$sql "SELECT * FROM list WHERE title LIKE '%$search%'";
//Create a PS_Pagination object
$pager = new PS_Pagination($con,$sql,10,10);
//The paginate() function returns a mysql
//result set for the current page
$rs $pager->paginate();
//Loop through the result set

while($row mysql_fetch_assoc($rs)) {
    
$title=$row["title"];
    
$url=$row["url"];
    
$description=$row["description"];
    
$lastcrawl=$row["lastcrawl"];    
    
echo 
'<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="600" align="center">
        <tr> <td class="tcat"><a href="'
.rawurldecode($url).'">'.$title.'</a></td> </tr>
        <tr> <td class="alt1">'
.$description.'</td> </tr>
        <tr> <td class="alt1">Date Crawled: '
.$lastcrawl.'</td> </tr>
    </table>'
;
}

//Display the navigation

echo '<br /><center>' $pager->renderFullNav() . '</center>';

?>


singabaloo 02-26-2009 06:06 AM

Great Mod. Installed it fairly easily and now I'm having a play.

I have seen a minor issue between this Mod and the BBCode Table mod The bbcode table mod has a .js script which it uses to automagically have any table column sortable by clicking on it. I have found that while the script does work when I create bbcode tables in posts, it doesn't seem to work within WebTemplates.

Has anyone else tried mixing these two Mods together ?

externalaw.com 02-26-2009 12:56 PM

Great add-on, externalaw.com has implemented it here http://www.externalaw.com/view.php?pg=jobsearch

Ohiosweetheart 02-28-2009 06:04 AM

Logician, are there any plans in the future to make this valid xhtml?

GoTTi 03-07-2009 09:32 PM

how do i get a site to load in a frame i guess using this? if i want www.yahoo.com to load on one of the webtemplates, what do i put in the template field and what do i set it to? php, html, text?

i cant figure out it. im trying to use a frame code and its not working. its showing the site i want to load but in a small little box and i dont have a size command in the code.


All times are GMT. The time now is 09:10 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.01366 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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