![]() |
HarryButt, is done. i added a variable there.
just redownload the file and make sure in the readmefirst.txt file it says at the top version 3.0. Emma, in the new index.php file find: Code:
if ($thread['forumid'] != $newsforum) { Code:
$threadbits = ''; emma, please dont remove the copyright text mentioned in the hack. first of all, it's using vBulletin functions so it is part of it. in other words, is illegal to remove the copyright. second, it's my hack. i worked some time on it so everyone could use a reliable code and all i ask is a link to my website. thanks. also, i want you all the let me know what do you think about the new version. thank you. :) |
Ok i got a question...
Whats the syntax to show the user on the panel what the forum name is where the latest post resides.. like.. Blah Blah post Name Here 09-18-2002 04:51 PM by Whoever Views: 48 Replies: 1 testing Forum Name: NAME HERE is it as easy as making a $forum[whatver] or is there more to it.. |
is complicated if you dont want to add queries, you have to create new field in table thread and index it, then you run a extra query every time you post a new thread. the other way is to add a query every time you perfom the $thread mysql query. that will make you endup in a loop with 50-100queries performed on vbHome page.
so forget about it. why is it so important for you to show that info? do you think the users care what forum is posted in? they read the thread title and if interesting they will visit it. personally, i use only the thread title as link... but others requested the extra info that comes with it so i include it. you can use vbIndex (it's code is partially mines, copied from previous vbHome (lite) versions, without permission) if you want to show the forum titles... and also if you want to crash your server. vbIndex uses 50-150queries on it's regular page. lol, i saw element having on his page 172queries. NTLDR came up with vbIndex 2 (and put a little note inside - code by TECK), but still it uses 47 queries when set to minimum. there you have it, now it's up to you. |
hmmm... i have an idea, vbHome'rs. :)
how but instead of the avatar's picture (that some of you still want it), i add some custom iconews pictures, aligned to the right? it will look similary to phpnuke. this should be extremly easy to do, so let me know if you are interested. ofcourse the number of queries will be always the same... take a look below... |
i think it would be cool...
cant go wrong with eye candy |
I get
Fatal error: Call to undefined function: gettemplate() in /usr/local/psa/home/vhosts/chuckpalahniuk.net/httpdocs/dev/index.php on line 34 http://www.chuckpalahniuk.net/dev/ |
check your code changes. you made a mistake.
|
alright.
could it be because i am using files that have code changes from installing vb portal? i've been experimenting with all the vb home page hacks. |
as you know the hack was tested on a unhacked board.
however it should not interact with any of the pages since it does all the job by itself and pulls all the information from the database. you made a code mistake. check it again. |
I did find what could be called an error..
let me attempt to explain. I make a post in the news section and its shown on the main page. Someone else goes in and reply's to my post. Its updated on the main page showing last comment posted by user X. No problem. I go back into news and make a new topic. Again, its shown on the main page like it should. The problem lies on the previous post. Users X replied to my initial thread. His name is still there. Now, when you click Mr. X's name you dont see his profile anymore, rather you see the profile of the person making the new topic. member.php?s=&action=getinfo&find=lastposter&forum id=22 Eventho your clicking Mr. X's name you are seeing my profile cause i am the one making a new post in the forum eventhough your clicking Mr. X's name. Does what i am saying make any sense? Its loading the profile of the last poster in the forum rather then the last poster for that specific topic. |
All times are GMT. The time now is 05:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|