View Full Version : Pluhnews Hack Problem
Aaron1
12-15-2002, 11:40 AM
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!
Aaron1
12-15-2002, 05:40 PM
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:
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?
Aaron1
12-16-2002, 05:22 AM
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 :)
Aaron1
12-17-2002, 07:51 AM
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...
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. :)
Aaron1
12-19-2002, 07:06 AM
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...
Aaron1
12-19-2002, 07:07 AM
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....
Aaron1
12-20-2002, 07:36 AM
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 :)
KuraFire
04-18-2003, 01:05 PM
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 :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.