Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Pluhnews Hack Problem Details »»
Pluhnews Hack Problem
Version: , by Aaron1 Aaron1 is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-15-2002 Last Update: Never Installs: 0
 
No support by the author.

Newbie alert

I installed the Pluhnews hack on my forum:
As you can see here it works fine:

http://www.housequake.com/forum/PluhNews.php

But what i want to do, just doesn't work for me somehow.
I can include <?php include ("http://www.housequake.com/forum/PluhNews.php"); ?>
in my index.php, that works for me aswell, but it parses the pluhnews in the beginning of my forum homepage, and that looks awfull.

I just like to add the pluhnews in a certain place in my forumhome template. Just like i can move the $pminfo or $loggedinusers in any place i want. Is that possible?

Or in other words, how do i incorperate the content generated by PluhNews.php in my forumhome template?

Thanks for helping me out!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-15-2002, 05:40 PM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am i asking for the impossible? Or something strange? Do i have a bad breath? Or does my website make you vomit?

Or do you need more info?

Please help me out dudes/dudettes, or is my question/request to complicated for all the big shot programmers here! :cheeky:
Reply With Quote
  #3  
Old 12-16-2002, 02:36 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is not going to work, if you include it, unfortunatelly. But you can add only the queries that are performed into the forumhome, easier this way.
IMO, the code is poor, but it does the job.
BTW, you avatar is a smilie from my site, right?
Reply With Quote
  #4  
Old 12-16-2002, 05:22 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
Is not going to work, if you include it, unfortunatelly. But you can add only the queries that are performed into the forumhome, easier this way.
IMO, the code is poor, but it does the job.
BTW, you avatar is a smilie from my site, right?
Aha, that would make my life easier, but how do it add those queries? Can you help me out a little bit? Please keep in mind, that my PHP knowledge is hardly writing a book about

My avatar? I really don't know anymore, i downloaded a bunch of them at skinz.org or maybe customize.org.

Btw :I could have installed Vbhome lite, but all i need/wanted is 1 latest news item/message on the forumhomepage
Reply With Quote
  #5  
Old 12-17-2002, 07:51 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teck? Could you please explain to me how i add "only the queries that are performed" into the forumhome?

A simple example would get me on the way i guess...
Reply With Quote
  #6  
Old 12-19-2002, 04:56 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you want to pull the threads from a certain forum? the easiest way is to look at my script and remove all code but to keep only the articles... actually you could do that only with the options... look into the file it will be easier to understand... since you see the queries in action.

Post here your questions, with code examples, where you are confused and I will help you.
Reply With Quote
  #7  
Old 12-19-2002, 07:06 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
you want to pull the threads from a certain forum? the easiest way is to look at my script and remove all code but to keep only the articles... actually you could do that only with the options... look into the file it will be easier to understand... since you see the queries in action.

Post here your questions, with code examples, where you are confused and I will help you.
Thanks! I will take a look at the script.
So you are saying i should stop using this Pluhnews script, and try to use this Vbhome lite?

The idea is, that i want only 1 last thread pulled out of a certain forum i have specified... Here's some (before & after)attachements to make it a bit clearer...
Attached Files
File Type: (21.4 KB, 15 views)
Reply With Quote
  #8  
Old 12-19-2002, 07:07 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here's what i would like to have. (the design is not finished btw) Nothing major, but i think it's a nice and usefull addition to the forumhome template....
Attached Files
File Type: (21.4 KB, 17 views)
Reply With Quote
  #9  
Old 12-20-2002, 07:36 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on dudes, is what i want totally new, and is maybe considered a new hack? If thats the case: Whoever helps me out, may have all the credits for this hack
Reply With Quote
  #10  
Old 04-18-2003, 01:05 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just put the reading-out of those items into one single variable, and place that variable in your forumhome template where you want the contents to appear
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 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.04315 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete