![]() |
you have to hack the index.php file the same way you hack your /forum/index.php one.
be more specific. what hack (the name) you installed on your forum homepage? and you want it added to your main page? |
I'm using the Pluhnews hack. It's just a new php file with normal html/php stuff, but the news sections are using a tweaked version of pluhnews. Other than that, there isn't a whole lot that is special about the page.
The hack that I wanted to work on the front page was a hack that shows out many new threads had been created since your last visit, however I am going to need it to work a little differently. Instead of show the number since your last visit, I need it to show the number of threads created in a specific forum for that day. So it would just show a number and that number would represent the number of threads that have been created in that forum for the day. The hack that I have right now doesn't do that so I was also wondering if you knew how to do this? Or if not, I will request it, since it's probably pretty simple. |
for the latest threads, place this code:
PHP Code:
Code:
/////////////////////////////////// Quote:
|
I'm so confused it's not even funny. :( I know you don't want anyone to ask you stuff on msn nakkid but can I please I.m. you? it would be a ton easier just to ask you things in real chat then through posts. here is my handle : tau4ever@hotmail.com I'm gonna be waiting :)
|
i will help you here Xelation. ;)
please ask your questions in the thread. |
Warning: ChDir: No such file or directory (errno 2) in /home/xelation/public_html/home/index.php on line 19
I get this problem right now, I fixed some of my other problems. |
this is the chdir("path/to/forum");
it's changing the folder so it can find global.php (needed for vbHome). in your case it should look like: PHP Code:
|
ok, thats fixed... now I get this error...
Parse error: parse error in /home/xelation/public_html/home/index.php on line 20 |
that is your global file right? post the exact code as you have it there... line 19 and 20
|
Quote:
|
i assume you fix it. ;)
if you have any other problems, post them here. |
Quote:
|
may be a stupid question.... how can I tell what my forum id is? for this part
NOTE: Don't forget to set the $newsforum variable in index.php to the | right value. For example, if your NEWS forum have the ID 38, your | variable should look like: | | $newsforum=38; | ? |
]go to your forum, move mouse over link and look at the status bar ;)
|
Quote:
|
]by the way... thanx for Silver/Blue button set ( http://www.bbaddons.com/vb/pafiledb....ion=file&id=42 ), Xelation. I use them and it looks very good.
Never had a chance to thank you. Here it was ;) By the way, u're not stupid! :) |
ur not stupid. you just have to get familiar with php a little. that's why vB.org is here, to help eachothers. ;)
|
]lol, I tried to connect to your forum, thought it was http://www.bbaddons.com/vb/ but I got
Leech Request Denied! What do you think you are doing in here? You are not authorized to view this directory. Your attempt to leech the images or files contain here in has been recorded as well as your IP address and sent to the webmaster at this time. Any further actions will result in contacting your host or ISP. We have the following recorded on you: IP Address: ***.***.***.*** LOL, nice protection! :D |
Quote:
|
|
Quote:
|
]well... I understand why... ;)
but... maybe a lil screenshot for little helping wooolFie? :D |
Quote:
|
I need a lil help here... ok, I want to add the pm info on the right side of the forum, sorta like how wooolF[RM] has his... my problem is I dont know where to begin, I read your instructions on how to add it in the install info file. but I could not get it to work, I would just need to see how to do this once and I can hopefully add everything else afterwards.
|
Add PM info to your vbHome page
1. In forum/index.php, find the code segment: PHP Code:
2. Replace this code: PHP Code:
PHP Code:
Let me know if that helped you. |
There was a little bug when displaying the html code in the news.
home/index.php Find this code: PHP Code:
PHP Code:
|
]grrrrrrr... hate to fix bugz... :p ;) thanx for telling us :D
|
ok, thx... I'll try it when I come home today ;)
|
I am an admin of a forum this was already existing. They did it with php3. Can i still use this? I have tried with no luck. I get this error.
Parse error: parse error in /usr/sites/www.dssworld.tv/www/pages/test/index.php on line 20 I did modify index.php to look for global.php3 instead. What else could it be. Thanks, Netman |
i never test it in php3. so i cannot give you an exact answer.
also make sure to put in there the right path, in chdir. |
I did the member2.php3 trick and copied the ulr so I know it is correct. I would really like to get this working. I dont think they will let me redo the board and start over with php.
Netman |
This would sure be nice to have for php3.
Netman |
what VB version you have? can you post the url?
i see that your site is all built in .asp |
|
i'm glad you got it fixed.
PHP Code:
follow closely the instructions included in install.php. please let me know if you have any other problems. |
is funny. the post #158 should be right after 161. how did end up there???
|
Its weid though. My scrollbars are the same color as my forum and also the links are not the same color.
|
i dont want to be "picky" but xelation had the exact problem. ;)
can you make me a favour and post line 19-20 here? thanks. |
///////////////////////////////////
// variables settings // /////////////////////////////////// // set your root path chdir /usr/sites/www.dssworld.tv/www/pages/forums"); require("./global.php3"); |
I found my problem. I deleted the (" right before the chdir.
I dont have the error any longer. I now get just a blank page. I have to finish the instruction and modify the paths for the images. Exactly waht files do i need to modify with the url. Thanks, Netman |
All times are GMT. The time now is 08:00 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:
|