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)
-   -   Mini-Hack: Backend.php for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=23446)

orca 07-22-2001 10:00 PM

This is my first little hack for vBulletin. I just adapted the backend.php file from phpNuke to work with vBulletin. It just displays the last 10 threads (configurable by editing the mySQL-statement) as headlines.
It also works on non-nuke sites if you have the abilty to include RSS/RDF files.
You can see an example on my page http://www.arachid.org, left at the bottom. If you use the Usenet hack, you may email me and I send you the file which excludes usenet posts.

[update]
The forum headlines on my site work again (it was an error in Nuke). The script displays now also the threadstarter.
I guess it wouldn't be much work to display more info but it won't look that good, especially in the blocks of phpNuke.
[/update]

orca 07-23-2001 03:16 PM

I made a mistake and uploaded the wrong file. It's the one for the usenet hack. Now, the correct file is up.
If you downloaded the "old" file, remove AND isusenetpost=0 from the first mySQL-Query.

jcroft 08-26-2001 11:19 PM

I tried this, and got the following:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Line 17, Position 61


<link>http://forums.newbeetle.org/showthre...&threadid=5861</link>
------------------------------------------------------------^

Kelesis 09-04-2001 06:37 PM

I love it!

Question, though. Is it possible to keep this from displaying posts that are in private forums? Right now it displays the top ten posts, even if those forums are private.

sidalo 09-12-2001 07:51 AM

?޷???ʾ XML ҳ??
ʹ?? XSL ??ʽ???޷??鿴 XML ???롣??????????Ȼ?????? ˢ?°?ť?????Ժ????ԡ?


--------------------------------------------------------------------------------

ȱ?ٷֺš??? 16 ?У?λ??: 108


<link>http://cgi-bin.spaceports.com/~sidal...php?threadid=7</link>
-----------------------------------------------------------------------------------------------------------^
:confused:

orca 09-12-2001 09:17 AM

Well, sorry for the late reply. I'm quite busy with my exams right now.
Hmm, I need to have a look at it to exclude private forums. I guess it should be possible. Anyway, will do it after the exams which will be mid October...

P.S.: Sidalo, I can't read your message and your link doesn't work. Except that it opens tons of windows...

[VbbFr]Elie 09-12-2001 10:13 AM

To do like everybody :):p:):p:)

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Line 16, Position 86


<link>http://localhost/vbb/showthread.php?threadid=1</link>
-------------------------------------------------------------------------------------^

sidalo 09-12-2001 12:45 PM

Quote:

Originally posted by orca
Well, sorry for the late reply. I'm quite busy with my exams right now.
Hmm, I need to have a look at it to exclude private forums. I guess it should be possible. Anyway, will do it after the exams which will be mid October...

P.S.: Sidalo, I can't read your message and your link doesn't work. Except that it opens tons of windows...


Thank you.

orca 09-12-2001 01:23 PM

Quote:

Originally posted by [VbbFr]Elie
To do like everybody :):p:):p:)

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Line 16, Position 86


<link>http://localhost/vbb/showthread.php?threadid=1</link>
-------------------------------------------------------------------------------------^


Well, to be honest, I have no idea why this happens. I tried many things out but it just didn't work. I have a slight idea now where it could be. But as I said in my previous post, I'm in my exams. So you need to be patient. I'm sorry for this. It works on my site but there it's included in phpnuke.

sidalo 09-13-2001 12:01 AM

Quote:

Originally posted by orca



Well, to be honest, I have no idea why this happens. I tried many things out but it just didn't work. I have a slight idea now where it could be. But as I said in my previous post, I'm in my exams. So you need to be patient. I'm sorry for this. It works on my site but there it's included in phpnuke.


Maybe my site do not install phpnuke...


All times are GMT. The time now is 05:10 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.02367 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete