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)

Logician 09-03-2008 03:36 PM

Quote:

Originally Posted by azn_romeo_4u (Post 1613675)
Looks very powerful. Can it do something like this...

www.1perfectworld.com

Look at the index page. It's a completely different design than the forum? And it has newest members, latest threads etc. Also could you do a page like this for example

http://1perfectworld.com/guides/races/warrior.php

And just redesign the template to make it look like just a normal page without all the vb header footer etc but just a normal looking page?

This is not for site main page as described in FAQ but as for other page, it seems doable. However please note that main goal of this hack is to create vb integrated HTML pages with your forum style so if you don't want to use vb header/footer, you can use simple HTML/php structure too.

mmoore5553 09-03-2008 06:10 PM

logician

i have ot reset it up ..i forgot what error but i think it was on my side ....i would like to get this fixed but if not i totally understand not your issue lol ...also i wish you was okay with custom wokr ..trying to figure out how to add a couple modules lol

PossumX 09-04-2008 01:44 AM

Curious...

Would it be possible to utilize the 2 column theme, or something similar, in order to allow a skyscraper AdSense block on the left side?

If so how might one go about that?

I am sure I could figure it out, however, I just finished re-doing all my non vB pages into this mod, along with ALOT of tweaking throughout the process, and my eyes are crossed.

dodjer42 09-04-2008 02:29 AM

Logician, this is a great hack. I have a question hope you have a moment to tell me if this is possible with webtemplates.

I generate graphical forum signature using imagecreatefrompng(). On my forum it currently runs as an external page:

http://www.touch-buddy.com/tbsig/

This is a two stage process. 1) enter details and send submit, 2) show results.

I was hoping to integrate this with vbulletin styles etc using webtemplates. I createad a PHP page without problem and was able to generate an image, but its not wrapped in $header and $footer or the forum style.

I have read through the documentation and can't really figure out if I can do a html template with embedded php. When I tried this I simply got the HTML page with the php as text in the body.

Thanks for the hack!

siddal 09-04-2008 03:38 AM

Quote:

Would it be possible to utilize the 2 column theme, or something similar, in order to allow a skyscraper AdSense block on the left side?

If so how might one go about that?
The package includes a default "two-column theme" in "Themes" at the bottom of the templates list.
Just copy all the code from there into a new template ("add a new theme") and configure as you like.
Then when you build your new template -"add new web template" you?ll click on your two column variant in the drop down box in "Using a Theme?"...

Logician 09-04-2008 06:26 AM

Quote:

Originally Posted by PossumX (Post 1614063)
Curious...

Would it be possible to utilize the 2 column theme, or something similar, in order to allow a skyscraper AdSense block on the left side?

If so how might one go about that?

I am sure I could figure it out, however, I just finished re-doing all my non vB pages into this mod, along with ALOT of tweaking throughout the process, and my eyes are crossed.

Edit webtemplate theme named "Two Column Theme", after $WT_Login part enter your skyscraper code, then use this theme in your webtemplates

Logician 09-04-2008 06:49 AM

For those who want to run external PHP applications within vb style, I created a php test webtemplate which you can use. Here is instructions to use it:

1- First import this attached XML file for sample webtemplate in your admin cp/Logician's Webtemplates/export-import/Import Webtemplates section.
2- Then go to your webtemplate list find the new webtemplate named "phptest2" and click edit.
3- Find section that says
PHP Code:

// ============================
// Put Your PHP CODE right after this line
 
// ============================ 

4- Put your external PHP application's code AFTER the line like this
PHP Code:

// ============================
// Put Your PHP CODE right after this line
YOUR CODE GOES HERE WITHOUT // AT THE BEGINING
// ============================ 

Here is a sample:
PHP Code:

// ============================
// Put Your PHP CODE right after this line
 
echo "Time now is $today<br><br>";
echo 
"You registered this board at ".date('M-d-Y h:i:s',$vbulletin->userinfo[joindate]);
 
// ============================ 

Important Note:

Webtemplates main goal is NOT running PHP code or integrating PHP code with vbulletin, this is just an additional bonus which can sometimes work for certain applications. Integrating any PHP application with vbulletin is usually is not as easy as that. When you have 2 PHP applications (vbulletin and your other application) running at the same time, you are likely to have unexpected problems. For instance they can have same function names and they can clash, have same variable names and overwrite eachother's variables etc. Trying to integrate 2 PHP applications usually requires a lot of work on code level of both applications. So this method is likely to NOT work for many applications. However if your application is not very advanced and you are lucky that it does not have any clashing issues with vbulletin, you might run it like this. If you are able to run it with this method, you should be very happy but if you can't please don't blame the hack which as nothing to do with this, nor intended to do handle such a project. So I'm sharing this tip "as is" basis, hoping it can help "some" people around but stressing again that Webtemplate Hacks intention is not provide PHP integration with external scripts. ;)

Logician 09-04-2008 06:54 AM

@dodjer42 and mmoore5553 : Please check the post above and see if it will help you with your requests.

PossumX 09-04-2008 11:10 PM

Quote:

Originally Posted by Logician (Post 1614175)
Edit webtemplate theme named "Two Column Theme", after $WT_Login part enter your skyscraper code, then use this theme in your webtemplates

Simply AWESOME support and replies. The more I "play" with this, the more I can't understand how I managed without it. Makes for seamless non-vB page integration.

mmoore5553 09-05-2008 01:16 AM

okay i tried to do something different. .i put in flash file ...

it didnt work

nothing showed up
here is the html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

<!-- Do not remove the line below!!! It is required for the XML Flash Slideshow v3. -->

<script type="text/javascript" src="v3flashslideshow/slideshow.js"></script>

</head>

<body>

<!-- Begin XML Flash Slideshow v3 -->

<script type="text/javascript">

// <![CDATA[

XMLFlashSlideshow_v3({swf:'v3flashslideshow/slideshow.swf',w:'400',h:'400',redirect:'',usePrel oader:'true',xml:'v3flashslide show/slideshow_data1.xml',preventCache:'true',disableMu ltipleXML:'false',initXML:'%3C ?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Cslideshow%20version=%223%22%3E%3Cstyles %3E%3CPreloader%20label=%22Loa ding%20%7BN%7D%2525%22%20iconColor=%22#666666%22%2 0iconAlpha=%2270%22%20iconWidt h=%2250%22%3E%3C/Preloader%3E%3CPreloaderLabel%20font=%22Verdana%22 %20size=%2210%22%20color=%22#6 66666%22%20bold=%22false%22%3E%3C/PreloaderLabel%3E%3CBackground%20backgroundColor=% 22#E4E4E4%22%20backgroundAlpha =%22100%22%20bevelColor=%22#FFFFFF%22%20bevelStren gth=%2270%22%20borderWidth=%22 0%22%20borderColor=%22#FF6600%22%3E%3C/Background%3E%3CLoaderAnimation%20type=%22circle%2 2%20color=%22#FFFFFF%22%20alph aBackground=%2220%22%20alphaInner=%2240%22%20frame Width=%222%22%20width=%2250%22 %20height=%2250%22%3E%3C/LoaderAnimation%3E%3CDataLoader%20useAnimation=%22 true%22%20useLabel=%22true%22% 20labelPlacement=%22bottom%22%20fadeOutDuration=%2 2400%22%20textFormat=%22loader _text%22%3E%3C/DataLoader%3E%3C/styles%3E%3Clocalization%3E%3Ctext%20orig=%22Loadi ng%20Data...%22%20local=%22Loa ding%20Data...%22%3E%3C/text%3E%3C/localization%3E%3Cfonts%3E%3Cfont%20id=%22loader_t ext%22%20name=%22Pixelade%22%2 0embed=%22true%22%20size=%2213%22%20color=%22#6666 66%22%20bold=%22false%22%20sel ectable=%22false%22%20align=%22left%22%3E%3C/font%3E%3C/fonts%3E%3C/slideshow%3E'});

// ]]>

</script>

<!-- End XML Flash Slideshow v3 -->

</body>

</html>

anyone know what i did wrong ?

i can give access to anyone seriously wanting to help ... i just dont get it ..


All times are GMT. The time now is 03:01 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.03293 seconds
  • Memory Usage 1,763KB
  • 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_php_printable
  • (4)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