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)

anarx 02-09-2007 06:42 PM

First of all: Very nice hack!

My question now: Is it possible to include subforums to:
$WQ_last10threadfromforum2

I tried to get arround this like that:
forumid='36,40'

It did not work.

I hope you can help me ;)

Logician 02-09-2007 08:14 PM

Quote:

Originally Posted by anarx (Post 1178616)
First of all: Very nice hack!

My question now: Is it possible to include subforums to:
$WQ_last10threadfromforum2

I tried to get arround this like that:
forumid='36,40'

It did not work.

I hope you can help me ;)

forumid='36' OR forumid='40'

Logician 02-09-2007 08:15 PM

Quote:

Originally Posted by dcpaq2 (Post 1177931)
Logician,

Where can i find detailed instructions on how or what is the best way to upgrade?

Thanks

Doug

Best way to upgrade is overwrite hack's all .php files in the server. That should be it.

anarx 02-10-2007 12:39 AM

Hi!

I have got a new question:
I use $WQ_last10threadfromforum2 to show some threads.

I included the table "forum" to show the forum name.
Code:

SELECT thread.threadid, thread.title as threadtitle, thread.postusername,thread.postuserid,thread.dateline,forum.title,forum.forumid, forum.parentid

FROM thread
LEFT JOIN forum
ON (thread.forumid = forum.forumid)

Showing the forumname just works fine with "title"

Now I wanted to show the names of one parent forum, too.

First I tried it with "parentid" and "title" but it did not show me the name of the parent forum, it just showed me the name of the forum where the thread is.

After that did not work I tried it like that:

Code:

<td class="$alternate" WIDTH="12%" VALIGN="TOP" NOWRAP><div class="smallfont">

<if condition="$WQfield[forumid]=='40'">
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
BLA</a>
</if>
<if condition="$WQfield[forumid]=='38'">
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
BLUB</a></if>
<else>
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
Bla2</a></else>

</div></td>

That did not work, too.

I hope you understand my problem. I am not good at coding. Please help me if you are able to.

cU anarx

aacircle 02-10-2007 11:43 AM

Ok, I'm undecided now between this product and vbArticles by Mary.

WebTemplates is free and been around longer, but Mary's product looks snazzier. Has anyone looked at both offerings?

Thanks.

Sam1985 02-17-2007 03:16 AM

Hey Logician,

This is a flawless mod. I love it!! this will be a keeper!

Only question I have is how do I create categories besides "Your Custom Pages" and "Default WebTemplates"

I'm a total noob:p

Thanks

Logician 02-17-2007 06:29 AM

Please check 1.3.1.3 section in manual

Sam1985 02-18-2007 01:29 AM

Thanks it worked.
It's beautiful!

Any chance of making a search or releasing a code for that?

aacircle 02-19-2007 02:12 PM

Simple question. Are members able to reply to articles placed into the system? Otherwise I think vBa Blogicles may be the better alternative at http://www.vbadvanced.com/forum/showthread.php?p=105492.

kafi 02-19-2007 02:30 PM

Quote:

Originally Posted by Logician (Post 1163316)


Any news on how to make the page in certain style id? Example above doesnt work.


Thank you!!!!


All times are GMT. The time now is 07: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.02028 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)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