vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   now u can but ur last 10 thread in ur phpnuke (https://vborg.vbsupport.ru/showthread.php?t=38192)

lordnet 05-02-2002 10:00 PM

now u can but ur last 10 thread in ur phpnuke
 
Hi the first thing u do is to download the attached file and put it in the

forum file then go to the admin of the nuke and do the setup

then there in the new window , go down and put ur web site domain and put this www.yourdomain.com/forum/backend.php


thats all

my best wishs...

LORD :devious:

John 05-03-2002 11:36 AM

Who knows what this does...

Sparkz 05-03-2002 11:42 AM

I think it is supposed to make a rss-file with your ten last posts or something.
PostNuke has sopport for newsfeeds in this format, I believe, and this would be an easy way to get those posts on the first page.

But I'd never understand from just reading the post above. Think there was 1 hardcoded word in russian or something in there too that has to be replaced for english pages. Should be replaced with Poster or Author or something to that extent.

*reading file again*
Umm, is this even valid PHP?
PHP Code:

$result $getlastpost=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE visible=1 AND (sticky=1 OR sticky=0) AND open<>10  ORDER BY lastpost DESC LIMIT 10"); 


Velocd 05-03-2002 12:28 PM

Variable1 = Variable2 = Query?

Is that what your'e asking is valid or not? I haven't seen it done yet, or maybe I have but didn't take notice.

As for this hack, its just another that doesn't make sense. I sooooo wish that these hacks would be moderated before being put up, and somewhat understandable. I know the guy is from another country and doesn't know english well, but there's gotta be a better way to improve things.

Sparkz 05-03-2002 12:32 PM

More like $var=$somevar=functioncall() or whatever...
I think Perl let's you do stuff like that.

lordnet 05-03-2002 05:10 PM

hi

u can use it if u have phpnuke like a block

to but the last theard in ur vb board

LORD :)

Sigon 05-04-2002 02:22 PM

Man can anyone understand this? I would love to be able to put the last 10 threads on my main pahe(I use phpnuke) but jeesh I cannot even understand what he is talking about. bah!

Sparkz 05-04-2002 02:24 PM

Well, it all makes more sense if you replace but with put most of the places :P

Scott MacVicar 05-04-2002 02:46 PM

I've just read this over, its not even correct php.

I'm moving this to the beta releases, please sort the problems lordnet.

Sigon 05-04-2002 03:39 PM

Still the php isn't even right. Man if you are going to release something do it right.


All times are GMT. The time now is 02:54 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.01043 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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