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 12-22-2006 07:44 PM

Quote:

Originally Posted by Mark41 (Post 1143204)
Sorry for the double post, but now I'm just confused. Can anybody make this? I'm nearly beside myself.

I'd like it to be four things. The name of the forum the post is in with a link to the forum (like it is on my homepage). The name of the thread linking to the newest post. The name of the poster linked to them. The date the latest post was made.

Currently on my front page, it lists it as the latest threads created, not posts made. Can anyone help with this?


PHP Code:

SELECT thread.threadid AS threadidthread.title AS titlethread.postusername AS postusernamethread.postuserid AS postuseridthread.dateline AS datelineforum.title AS ftitlethread.forumid
FROM 
" . TABLE_PREFIX . "thread thread LEFT JOIN " . TABLE_PREFIX . "forum forum ON thread.forumidforum.forumid 
WHERE thread
.sticky=AND thread.visible=1
ORDER BY dateline DESC
LIMIT 10 

PHP Code:

<tr align="center"
 <
td class="$alternatealign="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='forumdisplay.php?$session[sessionurl]t=$WQfield[forumid]'>$WQfield[ftitle]</a></div></td>
 <
td class="$alternatealign="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='showthread.php?$session[sessionurl]t=$WQfield[threadid]'>$WQfield[title]</a></div></td>
 <
td class="$alternateWIDTH="15%" VALIGN="TOP"><div class="smallfont"><a href='member.php?$session[sessionurl]u=$WQfield[postuserid]'>$WQfield[postusername]</a></div></td>
 <
td class="$alternateWIDTH="15%" VALIGN="TOP"><div style="font-size: 8pt; line-height: 10px;">$WQfield[dateline]</div></td>
</
tr


rolandogomez 12-24-2006 03:41 PM

I went to export XML templates so I can use them on another site, I get this error:

Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 354

Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 362

Well then I downloaded your current version, think the last time I upgraded was in August, so I was still running fairly new version. I uploaded all the files as stated in the installation manual including step 3, then when I went to follow the upgrades, during the upgrade script, I get the following

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT wtid, title
FROM wt2_templates
WHERE headerfooter = '0'
ORDER BY category DESC,
title ASC;

MySQL Error : Table 'glamour1.wt2_templates' doesn't exist
Error Number : 1146
Date : Sunday, December 24th 2006 @ 01:06:06 PM
Script : http://www.glamour1.com/forums/admin...e.php?do=start
Referrer : http://www.glamour1.com/forums/admincp/wt_upgrade.php
IP Address : 70.125.158.16
Username : deleted on purpose by me
Classname : vb_database

The system still works, but I want to finish the upgrade.

Please help, thanks, and Happy Holidays, rg sends!

Sophonax 12-26-2006 12:42 AM

Installed, cause it rocks and it's needed. <3 Thanks for the awesome addon. ;D

Mark41 12-26-2006 02:01 AM

Thankyou very much for helping me but there is still one more thing I would like for it to do...

Instead of having the author of the thread being shown, is there a way to put the username of the last person to post in the thread? And then have the thread name link to the latest post?

digitalSite 12-27-2006 04:08 AM

I would like to uninstall this product because I need to change some things. The FAQs say:
----------------------------------------------------------------------
Select "uninstall" in Product Manager and it will automatically uninstall. Uninstalling does not remove database tables so that your custom webtemplates will not be lost when you reinstall. If you want to delete database records too run this query :
DROP TABLE `wt35_query`, `wt35_theme`, `wt35_visitlog`, `wt35_webtemplate`;
----------------------------------------------------------------------
But, where do i find the "Product Manager"? I don't see this anywhere. Any help is greatly appreciated!

EDIT: Sorry, I haven't been here in a while...I figured it out. To uninstall, log into your admin panel in vb, click on "Plugin System" > "Manage Products" and then select "uninstall" and GO. :)

ldsfiles 12-29-2006 03:28 PM

This very slick, Logician - thanks!

Hey team - is there a good online resource for sample queries that have been posted? Would save a lot of time for many of us.

ldsfiles 12-29-2006 03:35 PM

When I first installed Webtemplates, I wanted to figure out how to change the location of the view.php pages so that I could have a site that looked like this to the end users:

www.delicto.com/finance (instead of http://www.delicto.com/vb/view.php?pg=finance_main)

Here's what I did.

1 - On my server, I created a PHP page called www.delicto.com/finance/index.php

2 - On that page I inserted this code:

HTML Code:

<base href=http://delicto.com/vb/>
<?php
include("http://www.delicto.com/vb/view.php?pg=finance_main");
?>

This just uses the "include" feature of PHP to pull the content of that individual page into the desired location.

Not very elegant, because I'll have to set up each page that way (I hate it when things aren't dynamic) but it gets the job done. Hopefully this will help someone else too.

And, as alwyas, if anyone has other ideas of how to do it better, I'd love to hear it. Thanks!

LTW 12-30-2006 06:36 PM

I'm in the process of upgrading my forums, and this hack, (3.5.4 ==> 3.6.4) but it's not going so well. I've searched in this thread for others that may have had "upgrade" problems, but i seem virtually alone ... :cry:

The old template(s) shows up in the acp but when i click to view it, it says page not found. Of course i can't go directly to it either. I tried this fix, renaming them and such, but the results are the same.

Any suggestions?

TIA

LTW

mike the mix 12-31-2006 05:49 PM

I am an absolute Newbie and struggling. I have a simple vB running very well (latest release) and wish to add a simple "web site" on the same server containing some html pages which link to pdf files. I want to control access to the "web site" using vB, so that only registered users get access.

Is it possible to convert the existing html web pages into "webtemplates" and get the whole of my existing website working in vB?
Ideally I want to upload the web site with its files (about 250mb) and the whol lot be automatically converted so it can work under vB (with vB controlled access rights).

Regards,
mike

jluerken 12-31-2006 05:56 PM

HI Mike the mix,

you can implement a lot into a running vBulletin but answering your question in details is hard without knowing your page.

An automatic process to create a template out of an html page does not exist, you have to do it manually!


All times are GMT. The time now is 06:36 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.01676 seconds
  • Memory Usage 1,766KB
  • 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_html_printable
  • (2)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
  • (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