vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

newvbuser 01-30-2002 05:38 PM

Anyone want to help with this 2 column mod to this hack? :confused:

TurboFC3S 01-30-2002 06:22 PM

Man ... I get a headache trying to read this thread. I tried to read it, but am totally confused.

newvbuser 01-31-2002 05:49 PM

Bump

Mireade 01-31-2002 09:28 PM

Hello,
I did install your hack on my site and it works very good. Thank you for that !

my site

I have a question:
I noticed that new threads appear on the non vB pages BEFORE they are moderated on moderated forums... So someone (an "evil" one ;-) could bypass the authorization and pollute the home page of my site...

I wonder if you had already this issue and if something could be done for that.

FWC 01-31-2002 10:23 PM

Quote:

Originally posted by Mireade
I wonder if you had already this issue and if something could be done for that.
Find this line in last10.php:
Code:

$query0 = "SELECT pagetext,postid,dateline,iconid FROM post WHERE threadid='$threads[threadid]' ORDER BY dateline DESC LIMIT 1";
Add AND visible='1' just before ORDER BY. That should do the trick.

Mireade 01-31-2002 10:49 PM

Hi !
Thanks for the quick answer ! :)

I tried to do that but an not moderate message appears though...

:stupid:

the line is like that now:

Quote:

$query0 = "SELECT pagetext,postid,dateline,iconid FROM post WHERE threadid='$threads[threadid]' AND visible='1' ORDER BY dateline DESC LIMIT 1";

newvbuser 02-01-2002 10:53 AM

Anyone want to modify this hack so that it displays a 2 column table instead of one ? :(

Lionel 02-02-2002 11:36 AM

This is a great hack. I have been enjoying it from day 1. Can $showicon be modified to show a thumb image of an attachment instead? The thumb image will be generated at upload with the prefix tn_

-=dm=- 02-02-2002 02:16 PM

is there anyway I can fix the size?(so its non resizeable)
it working fine but it just pushing my blocks away:(

newvbuser 02-04-2002 01:30 PM

Hi tubedogg, I have your last10.php file of your nice Last XX topics in non-vb page. Since you are quite busy, I am trying to figure out how to display 2 columns instead of 1 for the lastXX active topics myself.

Could you please tell me where (or what counter) you are updating the counter to increment the while loop you are using in the last10.php display threads code? Is it an array of XX number of topics?? I am completely clueless about PHP or coding but I am trying to figure out things.

Anyone else want to tell me what the counter is in this while loop that is incrementing till 25? I saw the while condition but it makes no sense :confused:

Your help would be appreciated a lot!


All times are GMT. The time now is 02: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.02063 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)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