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)

TheLastSuperman 04-11-2009 04:24 AM

Ohh so it's a problem with your navbar then i.e. you replaced the urls's in some of your menu items but the changes are not reflecting in the webtemplate and causing an error?

drew82 04-11-2009 04:40 AM

no no no ... my menu links are fine

see this page bluelight.ru

their default landing page is home.php not index.php

how is this done

Michigan Morels 04-11-2009 05:22 AM

Well, after reading all 27 pages of this thread. I'm impressed with two thing.

1. the low number of problems (most of those seem to be complicated and above my level anyway LOL)

2. "Not supported" support seems to be better in this mod than most "supported" mods.

So I am going to download and try it out. I'm all excited over it, but won't marks installed until after testing on my testvb. When I install it on my live forum, I'll mark installed.

I am very impressed with the feedback in this thread in spite of Gladhatter's rude remarks when he doesn't even use it.

TheLastSuperman 04-11-2009 01:55 PM

Quote:

Originally Posted by drew82 (Post 1788687)
no no no ... my menu links are fine

see this page bluelight.ru

their default landing page is home.php not index.php

how is this done

You will need to get rid of the index.html or rename it to something else (Rename to save the original).

index.php will replace your index.html, the browser looks for one of these files as the default page to present based on the servers preferences. Most servers have default settings about the order in which a default file is presented. typical order is:

index.html
index.php
default.html
default.php
home.html
home.php

So basically if you don't have a index.html, it will start looking for index.php instead and so on, down the list!

Quote:

Originally Posted by Michigan Morels (Post 1788694)
Well, after reading all 27 pages of this thread. I'm impressed with two thing.

1. the low number of problems (most of those seem to be complicated and above my level anyway LOL)

2. "Not supported" support seems to be better in this mod than most "supported" mods.

So I am going to download and try it out. I'm all excited over it, but won't marks installed until after testing on my testvb. When I install it on my live forum, I'll mark installed.

I am very impressed with the feedback in this thread in spite of Gladhatter's rude remarks when he doesn't even use it.

It is a very well made mod, the author is very nice and helps when he has time as I assume he is a busy man ;) ... this is one of my favorite mods released for vB :D

S-MAN

dartho 04-11-2009 09:45 PM

There's probably a better way (you could probably do it with an htaccess edit only) but what I'd do (if I couldn;t be bothered googling better way) is create a new php file as gymph said in post #393 and call it myhome.php and put it in your forum root

Next edit your .htaccess file in your forum root and add a line:
Code:

DirectoryIndex myhome.php index.html index.htm index.php index.cgi index.pl default.htm
Now when someone visits your forum root (with out explicitly enterting a filename to access) it will defualt to myhome.php which redirects to whatever page you specified in the phpfile

dartho 04-11-2009 10:05 PM

OK, I googled - you shold be able to do this simpler. Assuming you don;t have an index.html in your forum root, simply add the following line to your htaccess

RewriteRule ^(index\.html)?$ view.php?pg=xxxxx[QSA,L]

Then when someone visits http://mysite.com your webserver will try and load up index.html which will be rewritten to view.php?pg=xxxxx (you swap xxxxx for the web template page identifier) and load up http://mysite.com/view.php?pg=xxxxx someone requesting http://mysite.com/index.php will still get that...

drew82 04-11-2009 10:21 PM

thanks guy for all the help

i moved my entire vbulletin out of the root into it's own directory

then i used gsmph's method to forward the index.php file in the root to the custom home page in the vbulletin directory.... this is working very well for me

gsmph 04-12-2009 03:43 AM

Quote:

Originally Posted by drew82 (Post 1789255)
thanks guy for all the help

i moved my entire vbulletin out of the root into it's own directory

then i used gsmph's method to forward the index.php file in the root to the custom home page in the vbulletin directory.... this is working very well for me

am glad to help...

now anyone cares to help me here

https://vborg.vbsupport.ru/showpost....&postcount=388

pleaseeeeeeeeeee............. :(

br
gsmph

Martyh 04-13-2009 10:24 AM

Hi,

Would it be possible to get one of BananaLive's Easy Forms into one of your templates ?

His product is here , where I asked the same question.

https://vborg.vbsupport.ru/showthrea...highlight=easy

Thank you,

Gamelobby 04-14-2009 04:18 AM

Is there some reason i cant change the background color..?
We have tested a few different types of HTML pages, but the background wont change.. it just stays white.

Any thoughts.?

Gamelobby 04-19-2009 10:52 PM

I Figured out where my backgrounds are going.. they are going to the Background of the entire site, not within the window.

Any thoughts on that.?

I want to make some simple HTML pages with some images, & a link or two.
Is this possible or only static pages.?

Logician 04-20-2009 06:03 AM

Quote:

Originally Posted by gsmph (Post 1787070)
this is really a nice mod.

i tried to merge it with autoindex but i got problems..

here is the code i use:

PHP Code:

 
 
 
 
 
 
echo "$stylevar[htmldoctype]";
echo 
"<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">";
echo 
"<head>";
echo 
"<title>$vboptions[bbtitle] $WT_PageName</title>";
echo 
"$headinclude";
echo 
"</head>";
echo 
"<body>";
echo 
"$header";
echo 
"$navbar";
echo 
"$nowbrowsing";
echo 
"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
echo 
" <tr>";
echo 
"<td valign=\"top\"> <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\">";
echo 
"<thead>"
echo 
"    <tr>";
echo 
"        <td class=\"tcat\" align=\"left\">&raquo; $WT_PageName</td>";
echo 
"</tr>";
echo 
" <tr> ";
echo 
"  <td class=\"alt2\" align=\"left\">";
echo 
"<div class=\"normalfont\"> ";
// ============================
// Put Your PHP CODE right after this line
 
require_once("autoindex.php");
require_once(
"AutoIndex.conf.php");
 
 
 
 
 
// ============================
echo "</div> ";
echo 
"</td>";
echo 
"</tr>";
echo 
"<tr> ";
echo 
"<td class=\"thead\" align=\"left\">Page ";
echo 
"      Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] ";
echo 
"      at $WT[lastvisitdate]$WT_Editor_link<br>";
echo 
"      Page Created at <b>$creationdate</b>, Last Modified ";
echo 
"      : <b>$lasteditdate</b>.</td>";
echo 
" </tr>";
echo 
"</thead>";
echo 
"</table>";
echo 
"</td>";
echo 
"</tr>";
echo 
"</table>";
echo 
"$footer";
echo 
"</body>";
echo 
"</html>"


it works perfect but..

https://vborg.vbsupport.ru/attachmen...1&d=1239251457

every time i click the each folder my URL change from view.php?pg=phptest2 to view.php?=dir=x then it redirects to invalid page...

any solution?

Reason why am merging this hack with autoindex to VB is that autoindex has the ability to control speed download and anti-leeching sequence..


thou this is really a great hack i nomionate this hack MOTM
great job Logician

br
gsmph

The url in your folders are created by autoindex hack. So it seems that you need to modify that hack to use WT urls in its folders to achieve your goal

Logician 04-20-2009 06:06 AM

Quote:

Originally Posted by Gamelobby (Post 1794773)
I Figured out where my backgrounds are going.. they are going to the Background of the entire site, not within the window.

Any thoughts on that.?

I want to make some simple HTML pages with some images, & a link or two.
Is this possible or only static pages.?

If you use a default webtemplate theme or webtemplate header/footer, it will use your vbulletin style's colors including your background color. (Actually this is the whole point of the hack hehe).

However if you want to change it, you can:
a) use a stand alone webtemplate (which does not use any themes or header or footer) and use any background color you like there.
b) Create a new webtemplate theme (or header) with a different bg color and use this one for your specific webtemplate

Likewise you can create any HTML pages you like. Just create it in your favorite HTML software (frontpage, dreamweaver etc.), then paste its source code inside a webtemplate.

DaveS 04-22-2009 06:50 AM

Is there a specific forum to get help with the creating of php templates in this mod?
Or do I just clog up this thread? :rolleyes:
I have a tricky one that I'm trying to create, but I'm not sure how to go about it.

Gamelobby 04-23-2009 07:25 AM

Quote:

Originally Posted by Logician (Post 1794969)
If you use a default webtemplate theme or webtemplate header/footer, it will use your vbulletin style's colors including your background color. (Actually this is the whole point of the hack hehe).

However if you want to change it, you can:
a) use a stand alone webtemplate (which does not use any themes or header or footer) and use any background color you like there.
b) Create a new webtemplate theme (or header) with a different bg color and use this one for your specific webtemplate

Likewise you can create any HTML pages you like. Just create it in your favorite HTML software (frontpage, dreamweaver etc.), then paste its source code inside a webtemplate.

Yea we have been putting HTML into the template, but in our code we have a different background color or image, & it shows up on the page not in the body.!?
That seems backwards to me, if it is in the HTML code we add to the template it should change the body of the page not the background..
My forum style had a left side menu, so we are trying to create something that keeps with that.


Quote:

Originally Posted by DaveS (Post 1796540)
Is there a specific forum to get help with the creating of php templates in this mod?
Or do I just clog up this thread? :rolleyes:
I have a tricky one that I'm trying to create, but I'm not sure how to go about it.

YES, this would be very helpful, i cant seem to get much to work on here except BASIC html code. Text with different colors, & fonts, but that about it.

DaveS 04-23-2009 12:22 PM

Hi I'm trying to run a few tests to understand how I might attempt something more complex.

I have a php include file but whenever I include it the file is getting outputted without actually being interpreted.

The include file is outside of the main forum

So e.g. a have a php template. In the PHP Include section I have: include("/file/path/www/links/lwt_links.php");

In that file I have the following PHP code.

PHP Code:

function lwt_test() {
echo 
"test";
}
echo 
"test2"

If I run the template it just outputs the code directly in the browser it doesn't get interpreted.

Any help appreciated. And it's a fantastic mod I've been using it for a long time.

Logician 04-23-2009 05:51 PM

Quote:

Originally Posted by DaveS (Post 1797362)
Hi I'm trying to run a few tests to understand how I might attempt something more complex.

I have a php include file but whenever I include it the file is getting outputted without actually being interpreted.

The include file is outside of the main forum

So e.g. a have a php template. In the PHP Include section I have: include("/file/path/www/links/lwt_links.php");

In that file I have the following PHP code.

PHP Code:

function lwt_test() {
echo 
"test";
}
echo 
"test2"

If I run the template it just outputs the code directly in the browser it doesn't get interpreted.

Any help appreciated. And it's a fantastic mod I've been using it for a long time.

You shouldn't use any echo commands in phpinclude section because this section is "processed" before outputting wt content so if you have an echo command there, it will also pasted before the wt content. Compile its content in a variable like:

PHP Code:

$myvariable =  "test2"

and then use $myvariable in your wt content to paste it in the correct time.

DaveS 04-24-2009 06:44 PM

Thank you. I now have a basic PHP script working really well using your pages to output in the web template.

gsmph 04-27-2009 12:50 AM

Quote:

Originally Posted by Logician (Post 1794966)
The url in your folders are created by autoindex hack. So it seems that you need to modify that hack to use WT urls in its folders to achieve your goal

here is my autoindex kindly check this but still i cant get the right URL on WT :(


br
gsmph

Saviour 04-27-2009 04:10 PM

I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.

Can someone assist?

Much appreciated...

DaveS 04-28-2009 06:18 AM

For those that are using this mod and the vbSEO mod the following rule will rewrite the URL's to be more SEO friendly.
I've just been working on this with the vbSEO guys and thought it would be useful posted here as well.
It gets entered in to the Define Custom Rewrite Rules Section.

HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Works a treat!

The URL's now become http://yoursite/forums/page-nameofpage.html

Gamelobby 04-28-2009 06:33 AM

Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

Saviour 04-29-2009 02:22 PM

Bump...

https://vborg.vbsupport.ru/showpost....&postcount=420

Does anyone use vMoods with this mod? If so, can ya help me out with the post above?

DaveS 04-29-2009 03:40 PM

Quote:

Originally Posted by Gamelobby (Post 1800362)
Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

Although I haven't analysed what you've done the answer I think is yes.
I've just built a simple php application using this mod that embeds nicely within vB now. When you couple that with the vbSEO mod I think this mod has a great future.

Logician 04-29-2009 04:43 PM

Quote:

Originally Posted by DaveS (Post 1800354)
For those that are using this mod and the vbSEO mod the following rule will rewrite the URL's to be more SEO friendly.
I've just been working on this with the vbSEO guys and thought it would be useful posted here as well.
It gets entered in to the Define Custom Rewrite Rules Section.

HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Works a treat!

The URL's now become http://yoursite/forums/page-nameofpage.html

Thanks Dave! I added to FAQ.

Logician 04-29-2009 04:46 PM

Quote:

Originally Posted by Gamelobby (Post 1800362)
Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

I'd think it is possible. Just create a webtemplate with a iframe in it and put your page into this iframe in the webtemplate.

Logician 04-29-2009 05:02 PM

Quote:

Originally Posted by Saviour (Post 1799984)
I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.

Can someone assist?

Much appreciated...

Open view.php, find this line:
PHP Code:

//construct_forum_jump(); 

After that add:
PHP Code:

if ($vbulletin->options['vmoods_active'] && $vbulletin->userinfo['userid'] > && !in_array($vbulletin->userinfo['usergroupid'], explode(","$vbulletin->options['vmoods_usergroups'])))
{
 
$vmoods_list explode("\n"$vbulletin->options['vmoods_list']);
 
$vmoods_path $vbulletin->options['vmoods_images_path'];
 
 foreach (
$vmoods_list as $vmood)
 {
  
$vmood trim($vmood);
  
$vmood_id = ($vbulletin->userinfo['vmood'] == $vmood) ? 'mine' $vmood;
  
  if (
$vbulletin->options['vmoods_li_option'] == 'text'){
   eval(
'$vmoods_li .= "' fetch_template('vmoods_li_text') . '";');
  } else  
  if (
$vbulletin->options['vmoods_li_option'] == 'images'){
   eval(
'$vmoods_li .= "' fetch_template('vmoods_li') . '";');
  }
 }
 
 eval(
'$vmoods_form = "' fetch_template('vmoods_form') . '";');
 
    
$footer $vmoods_form $footer;



Logician 04-29-2009 05:12 PM

Quote:

Originally Posted by gsmph (Post 1799674)
here is my autoindex kindly check this but still i cant get the right URL on WT :(


br
gsmph

What about you also try iframe method? So instead of running your autoindex file in a php webtemplate, create a regular HTML webtemplate which as a iframe in it and then run your autoindex inside this iframe?

Gamelobby 04-29-2009 10:36 PM

Quote:

Originally Posted by Logician (Post 1801264)
I'd think it is possible. Just create a webtemplate with a iframe in it and put your page into this iframe in the webtemplate.

Yup thats exactly what we did.. not sure if that is the perfect way to acheive what we want, but it is damn close, & will work for now.!! :up:


Will the html code work on here also.?
HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Without vBSEO.?

I should think about adding vBSEO.. I've always just been afraid it would screw things up. :erm:

Gamelobby 04-29-2009 11:30 PM

I got a question about this.. (or maybe this should be posted elsewhere)

Using iframes, how can i create a page that will pull info from a socialgroup.?
Like a members page that takes the data straight from a group page, so the group page becomes their admin page.

Does that make sense.?

Saviour 05-01-2009 01:43 PM

Thanks for the vMoods fix, Logician...

Much appreciated.

smooth-c 05-02-2009 11:26 PM

Any idea as to why this happens with my blogs link?

http://www.maximum-jackson.com/discu...?pg=invalid_pg

Thanks mate!

Logician 05-03-2009 09:06 AM

Quote:

Originally Posted by smooth-c (Post 1803331)
Any idea as to why this happens with my blogs link?

http://www.maximum-jackson.com/discu...?pg=invalid_pg

Thanks mate!

What happens exactly?

smooth-c 05-03-2009 10:31 AM

ooh just realised blogs don't show for guests - i'll take a screenshot and detail more info..

Normal blog link
http://img80.imageshack.us/img80/5450/1men.jpg

When using logician web template logged in.
http://img145.imageshack.us/img145/1968/2men.jpg

For some reason, when logged in (so blogs are enabled to show in the navbar) a seperate blog link is displayed and the original turns blue and has two little arrows instead of one.

rbgrn 05-12-2009 03:15 PM

I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.

I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work.

Here's what I tried in the Query PHP Include (after)

Code:

require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$WQfield[pagetext] = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);

and then I did the normal $WQfield[pagetext] in the result row.

This didn't work at all. So then I tried this:

Code:

require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$pagetext = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);

and put $pagetext in the result row but that also did not work.

If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this:

Code:

require_once(DIR . '/includes/class_bbcode_blog.php');
$parser =& new vB_BbCodeParser_Blog($vbulletin, fetch_tag_list());

Thank you for any help!

Logician 05-12-2009 04:19 PM

Quote:

Originally Posted by rbgrn (Post 1809418)
I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.

I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work.

Here's what I tried in the Query PHP Include (after)

Code:

require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$WQfield[pagetext] = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);

and then I did the normal $WQfield[pagetext] in the result row.

This didn't work at all. So then I tried this:

Code:

require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$pagetext = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);

and put $pagetext in the result row but that also did not work.

If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this:

Code:

require_once(DIR . '/includes/class_bbcode_blog.php');
$parser =& new vB_BbCodeParser_Blog($vbulletin, fetch_tag_list());

Thank you for any help!

Not easy to advise before doing the debugging on code and moreover I don't use jelsoft's blog application myself but here is a wild guess:

There are 2 occurences of this code in view.php
PHP Code:

$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
               
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 

These are for webquery bbcode parsing and you can apply your hack to these 2 sections like:

PHP Code:

require_once(DIR '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
 
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 

This can help (hopefully!) :)

rbgrn 05-12-2009 04:42 PM

Logician,

Thanks for the quick reply!

I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue])

I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field.

I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext]

I appreciate your help and thank you again for such a great product!

Logician 05-12-2009 08:30 PM

Quote:

Originally Posted by rbgrn (Post 1809475)
Logician,

Thanks for the quick reply!

I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue])

I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field.

I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext]

I appreciate your help and thank you again for such a great product!

Actually hard for me to advise without testing myself and I cant test since I dont have the blog product.

But if you want your hack to work for a certain field only, this should help:
PHP Code:

 
if ($WTWQqbbcodeparsedvalue == 'pagetext')
{
require_once(
DIR '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
 
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111);  
 
}
else
{
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
               
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 


But then again, this should go directly into view.php file, not into phpinclude field of the webquery. Because phpinclude section is parsed after webquery's default bbcode parsing so when you reach there, your variable is already parsed. So you should try hacking the .php code.

Duncan Idaha 05-13-2009 10:31 PM

OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)

Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc.

If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread?

Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)?

Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)?

Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes?

Logician 05-14-2009 10:19 AM

Quote:

Originally Posted by Duncan Idaha (Post 1810378)
OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)

Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc.

If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread?

Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)?

Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)?

Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes?

Not sure if I understand your request but it will definetly not hurt to try it out. Go ahead and install it, I'm sure you'll find it easy to install. Then check test webtemplates that comes with the installation and see if it is as you wanted. If not, you can remove the product easily.


All times are GMT. The time now is 10:33 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.02238 seconds
  • Memory Usage 1,955KB
  • 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
  • (7)bbcode_code_printable
  • (3)bbcode_html_printable
  • (9)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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