vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Articles 1.0.1 - [vB 3.0.1] (https://vborg.vbsupport.ru/showthread.php?t=65934)

John 06-07-2004 04:30 PM

Quote:

Originally Posted by tmhall
Article column, subcat index.

Try overwriting the article_level2_post template with this:

Code:

<tr align="center">
        <td class="alt2" width="1%">
<if condition="!empty($category['statusicon'])">
<img src="$stylevar[imgdir_statusicon]/forum_$category[statusicon].gif" alt="" border="0" />
</if>
</td>
        <td class="alt1Active" align="$stylevar[left]" id="f$category[categoryid]">
                <div>
                        <a href="article.php?$session[sessionurl]c=$category[categoryid]"><strong>$category[title]</strong></a>
                </div>
                <div class="smallfont">$category[description]</div>
<if condition="$category[subforums]"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $category[subforums]</div></if>
        </td>
        <td class="alt2" nowrap="nowrap">$category[articlecount]</td>
        <td class="alt1" nowrap>$lastcommentby</td>
        <td class="alt2" nowrap>$lastarticleby</td>
</tr>
$childcategorybits


DaveLogic 06-07-2004 04:34 PM

Quote:

Originally Posted by Breaker
fixed permissions problems (overriding of permissions appeared in wrong groups)

but now i get a database error when trying to view a category

I have the same permission problem...How exactly did you remedy this as I can find no permission options in AdminCP??

John 06-07-2004 04:36 PM

Quote:

Originally Posted by DaveLogic
I have the same permission problem...How exactly did you remedy this as I can find no permission options in AdminCP??

I presume you've followed the instructions, and saved usergroup settings and vBulletin options?

DaveLogic 06-07-2004 04:47 PM

Quote:

Originally Posted by John
I presume you've followed the instructions, and saved usergroup settings and vBulletin options?

My apologies ...I hadn't but like the person before me, after completing that part I now receive this error:

Database error in vBulletin 3.0.1:

Invalid SQL: SELECT * FROM article
WHERE categoryid=2 AND (articleuserid=1 OR open IN (0,1)) ORDER BY dateline DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

mysql error number: 1064

zetetic 06-07-2004 04:49 PM

Quote:

Originally Posted by John
Try overwriting the article_level2_post template with this:

Oops, I think it was my fault. I'm not using the default names for the post icons. :(

Sorry.

John 06-07-2004 04:50 PM

Quote:

Originally Posted by DaveLogic
My apologies ...I hadn't but like the person before me, after completing that part I now receive this error:

Database error in vBulletin 3.0.1:

Invalid SQL: SELECT * FROM article
WHERE categoryid=2 AND (articleuserid=1 OR open IN (0,1)) ORDER BY dateline DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

mysql error number: 1064

Which file is the error coming from? (I.e. the name of the file mentioned in the query error.)

DaveLogic 06-07-2004 04:59 PM

Quote:

Originally Posted by John
Which file is the error coming from? (I.e. the name of the file mentioned in the query error.)

Date: Monday 07th of June 2004 01:57:31 PM
Script: http://localhost/forums/article.php?c=2
Referer: http://localhost/forums/article.php
Username: Dave_Logic
IP Address: 127.0.0.1

John 06-07-2004 05:09 PM

Quote:

Originally Posted by DaveLogic
Date: Monday 07th of June 2004 01:57:31 PM
Script: http://localhost/forums/article.php?c=2
Referer: http://localhost/forums/article.php
Username: Dave_Logic
IP Address: 127.0.0.1

I actually had the exact same error during testing, and then found that I had to save vBulletin Options to fix the problem.

But of course that can't be it, because you followed the instructions - right?

DaveLogic 06-07-2004 05:20 PM

Quote:

Originally Posted by John
I actually had the exact same error during testing, and then found that I had to save vBulletin Options to fix the problem.

But of course that can't be it, because you followed the instructions - right?

Ok...I admit..missed that bit out aswell..Everything seems to be working fine now..thanks for your time...the install button has been clicked..

Okiewan 06-07-2004 05:24 PM

Quote:

Originally Posted by John
vBulletin version?

3.01


All times are GMT. The time now is 03:25 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.01779 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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