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)

tommyxv 12-14-2006 12:30 AM

Why doesn't the version number update? The XML still says 3.5.0. Can i just change it? Maybe he will update it to reflect the current version.

Mike54 12-17-2006 12:34 AM

I only wish I had an excuse for not using this one before now.

StOOOsH 12-17-2006 04:20 AM

im trying to use a RSS reader with this mod to show movie times, but i cant get it to work, its not reading the reader (pun? lol)

any help would be appreciated

Logician 12-17-2006 09:15 AM

Quote:

Originally Posted by Nick0r (Post 1126797)
Does anyone know if there is a way to disable the Display Page Browsers permanently on every template (as to save one query per page) without going through them manually?

Edit view.php, find line:

PHP Code:

if ($WT['showbrowsers']) 

replace it as:
PHP Code:

if ($WT['showbrowsers'] AND 1==0


Logician 12-17-2006 09:16 AM

Quote:

Originally Posted by Ohiosweetheart (Post 1133213)
QUESTION:

I created a webpage using the html parsing method and 2 column theme.

Is there a way to edit the left hand column? Rather than having stats in it, I'd like to place some other info there.

What would be the method of doing this?

Thank you!

You can edit theme "Two Column Theme"

Logician 12-17-2006 09:18 AM

Quote:

Originally Posted by tommyxv (Post 1138161)
Why doesn't the version number update? The XML still says 3.5.0. Can i just change it? Maybe he will update it to reflect the current version.

Have you uploaded new versions /includes/wt_include.php to the server?

Mark41 12-21-2006 01:02 AM

Edit - Found my problem and solved it - but still wanted to thank Logician. So...

Thank you so much for making this! My whole website is made just of your WebTemplates!

http://www.designersource.org/

:)

PoetJA-1975 12-21-2006 05:44 AM

Thanx very much LOGICIAN - Just the modification I was looking for:
http://jpicforum.info/view.php?pg=shopjpic
Very nice work ;)

Jacquii.

Mark41 12-21-2006 01:52 PM

You know, I did do something incorrectly. It doesn't update, I think I am using the wrong variables or something.

I want to select the latest posts in the forum but this returns the latest threads. Any help?

Code:

SELECT thread.threadid AS threadid, thread.title AS title, thread.postusername AS postusername, thread.postuserid AS postuserid, thread.dateline AS dateline, forum.title AS ftitle
FROM thread LEFT JOIN forum ON thread.forumid= forum.forumid
WHERE thread.sticky=0 AND thread.visible=1
ORDER BY dateline DESC
LIMIT 10

and

Code:

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

Thanks in advance!

Mark41 12-22-2006 01:14 AM

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?

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!

mike the mix 01-01-2007 12:43 AM

Hi thanks for your reply.
If I make a manual translation of my html pages to templates, can these still link to pdf files OK?
Where will I need to upload these template and pdf files? Can this be handled automatically for large numbers of files or can i do it with FTP?

Can i create the templates by cutting and pasting from each HTML page including its many HTML links to the pdf files?

Regards,
Mike

PS I am happy to send you details of the web site and admin details by PM so you can see what I am trying to do...

jluerken 01-01-2007 09:00 AM

Mike the mix its like I said, nobody here can answer your question with a general YES or NO.
I am sure it depends on the html pages you have if they can be displayed correctly or not.

You can transfer your .pdf files via ftp to any locations you want.
Link that you generate in the CMS are the same like in normal .html files.

Why not simply give it a try? Install the hack and work with it.
Include some of your pages and check if its working for you or not.
Bringing content from one system to another does also mean you have to spend time and that you have to do work.
There is no automatic process that does it for you. The only automatic process that I know in this area is called "manpower" and that does mean that you have to pay someone else doing it for you :D

Logician 01-07-2007 08:27 AM

Quote:

Originally Posted by mike the mix (Post 1148176)
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

What you wanted sounds possible with Webtemplates to me.

If you want to keep the existing design of your HTML pages, just open them in IE, click "view source" and paste the source code into a webtemplate.

If you want them to inherit "vb look" (header/footer/logo/colors etc.), then you have to manually adjust their HTML codes while pasting them into webtemplates.

They can link PDF files and since the page is protected with vb permissions, people can not reach your PDF links in these pages without proper permissions. However please note that when somebody access it, he can always share the PDF link with other people who do not have permission. In other words, Webtemplate protects your page content (in which PDF links are displayed to users) with vb permissions, NOT your pdf files itself.

Logician 01-07-2007 08:29 AM

Quote:

Originally Posted by LTW (Post 1147654)
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

Make sure :
1- Forum URL in vb settings is correct.
2- Disable SEO friendly URL option and try again.
3- Make sure you configured SEO friendly URL hack correctly (and uploaded the .htaccess file)

kafi 01-09-2007 10:24 PM

Hello thank you for this addon.

I wish to use this for webpage where user can see his extra fields that are stored in userfield table.

I wish to use something like $filed20 or $field22 within template.
How do I achieve this?

Thank you!!!

Logician 01-10-2007 06:37 AM

Quote:

Originally Posted by kafi (Post 1154989)
Hello thank you for this addon.

I wish to use this for webpage where user can see his extra fields that are stored in userfield table.

I wish to use something like $filed20 or $field22 within template.
How do I achieve this?

Thank you!!!

$bbuserinfo[field1]

Please read Manual section 1.4

Bellinis 01-11-2007 10:58 PM

Last weekend we upgraded our board from 3.5.2 > 3.6.4
We were using WebTemplates 3.5.05 and now we upgraded to 3.6.01

All went fine, only when I try to export our webtemplates, I get the following error:

Code:

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

(don't know if we had this error before, because I never exported the templates before)
How can I fix this?

Also I noticed the version info in the XML file still says <version>3.5.0.05</version> ? Should be 3.6.01... or?

kafi 01-15-2007 03:20 PM

Quote:

Originally Posted by Logician (Post 1155276)
$bbuserinfo[field1]

Please read Manual section 1.4

Thank you Logician,

all went great. I have even learned how to play with queries so now I do some custom pages with stats for me instead of going to phpMyAdmin :-)

But know I grown and want to build form with this sweet add-on :-)
Is it possible to implement also "update" queries that will take datas from form fields?

Thanks 1milion :-)

Razasharp 01-15-2007 03:31 PM

Quote:

Originally Posted by kafi (Post 1159897)
Is it possible to implement also "update" queries that will take datas from form fields?

Yes - check back through this thread as it has been covered previously ;) Also look at the example WQs and WTs :)

Logician 01-15-2007 03:33 PM

Quote:

Originally Posted by kafi (Post 1159897)
But know I grown and want to build form with this sweet add-on :-)
Is it possible to implement also "update" queries that will take datas from form fields?

I have not built such a form, but I believe it can be done. I recall I implemented the php_include_before sections into the hack so that such functionality can be available if needed. (as you might like to clean out the incoming variable before applying to UPDATE query etc.). But since I didn't do it myself, I can't assure it can be done. Some practical problems can occur which are not visible in theory. I'd say, give it a shot and see. :)

Icehawk002 01-17-2007 09:49 AM

Quote:

Originally Posted by Bellinis (Post 1156622)
Last weekend we upgraded our board from 3.5.2 > 3.6.4
We were using WebTemplates 3.5.05 and now we upgraded to 3.6.01

All went fine, only when I try to export our webtemplates, I get the following error:

Code:

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

(don't know if we had this error before, because I never exported the templates before)
How can I fix this?

Exact same problem would like to fix so that can safely upgrade to 3.6.01

Icehawk002 01-17-2007 10:19 AM

I would like to add the feature seen at the top of this thread for example where by a visitor is asked to rate (something, in this case WebTemplates Mod - Excellent :)) and then the rating is adjusted accordingly.

Basically I want visitors to rate different webtemplates or rather the contents of the Template - Any ideas?

Logician 01-17-2007 02:12 PM

Quote:

Originally Posted by Icehawk002 (Post 1161303)
Exact same problem would like to fix so that can safely upgrade to 3.6.01

I think there is a problem in the export/import section of the hack for vb 3.6.x version (only in that version!). It still works fine with vb 3.6.x but import/export webtemplate feature can give an error. I don't use 3.6.x myself but I'll still look into it. Yet I couldn't find time to deal with it yet, so please bear with me. I believe I'll fix it in a few weeks..

Icehawk002 01-17-2007 03:29 PM

Thank you :)

Kihon Kata 01-18-2007 01:00 PM

Attn Logician,

Question: How can I get $posts, $joindate, $lastactivity to work from inside a webtemplate?

Here's an example of them NOT working(upper right hand coner)

What's weird is that $username works just fine.

Any ideas? Thanks in advance

kafi 01-18-2007 05:22 PM

How do I force webpage to be shown in certain styleid? Not according users or default choice, but just for this page?

THanks!!!

Logician 01-19-2007 07:54 AM

Quote:

Originally Posted by Kihon Kata (Post 1162163)
Attn Logician,

Question: How can I get $posts, $joindate, $lastactivity to work from inside a webtemplate?

Here's an example of them NOT working(upper right hand coner)

What's weird is that $username works just fine.

Any ideas? Thanks in advance

Please see user manual section 1.4.. It is explained in detail..

LMimo 01-19-2007 06:02 PM

Hi,

Am I correct in assuming that the page name will always be prefixed with 'view'

I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.

eg rather than

forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage

I am looking for

forum/lovelylookingpage.html

Any tricks that I could do to get this working?

Kihon Kata 01-20-2007 12:34 AM

Quote:

Originally Posted by LMimo (Post 1162918)
Hi,

Am I correct in assuming that the page name will always be prefixed with 'view'

I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.

eg rather than

forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage

I am looking for

forum/lovelylookingpage.html


Any tricks that I could do to get this working?

That's called vBseo

Trana 01-20-2007 12:42 AM

Quote:

Originally Posted by Kihon Kata (Post 1163142)
That's called vBseo

That will do the trick.


All times are GMT. The time now is 07:05 PM.

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.02203 seconds
  • Memory Usage 1,882KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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