![]() |
Okay I made a few edits to my own tastes and put it all in a text file: Check it out Plurplanet and let me know what you think.
This is the addin info on how to integrate the TWTcommish "Shoutbox" hack onto the Myvbindex page. |
Quote:
PHP Code:
|
Zalbard - I just moved servers a little while ago and have a few issues to straighten out, so as soon as I finish that I'll post instructions on how to turn it into a 'portal'.
AZone - Were the news posts made before or after you installed the script? If they were made after you installed the script, check your newthread.php and newreply.php files to make sure that you edited them right. If the posts were made before the script was installed, see this post for quick instructions on how you can update them - https://vborg.vbsupport.ru/showthrea...825#post333825 Brahm - I'll check it out in a few and probably add it in with the mini-hacks on the first post. :) |
I determined the causal factor - it is Thread Preview Hack. After I uninstall it - News works nice.
|
I do need a portal type site, so please help as soon as possible. Thanks!
|
Zalbard - Ok, Here are instrutions to turn this hack into a portal. It will require a little work, but if you read carefully and follow these instructions you shouldn't have any problems.
First make a copy of the mYvBindex file and rename it "include.php" (of course you can call it whatever you'd like, that's just what I called mine). Then you should remove the parts of the script that are not used on those pages such as news, polls, weather, and calendar in my case. You don't really have to delete those parts, but it makes for a little faster loading time and less queries, so it really is best if you do. If you just start wherever the code for a specific function begins and remove all code up to where the next function begins it should work fine, and there are notes in the script telling where each part starts. Then you would want to create a new template in your Admin CP (I called mine "include"). You would put the same content in your include template that is in your index template, but you would cut out the $newsbits and everything below that. Then in your include.php file the last couple of lines looks like this: PHP Code:
Now you will pretty much have your header file made. Next you would want to edit your html pages that you would like this header to appear on. There are a couple of ways to do this, so here are the best/easiest two. One way is with the php include function. You will need to remove everything above the top of your files so that the only thing before any content is something like this: PHP Code:
An alternative to using the PHP include function would be to use server side includes. You would do everything exactly the same except when editing your files to add the header, you would put some code like this at the very top of your file instead of the PHP tag: Code:
<html><!--#include virtual="/include.php" --> That should be everything you need to do. If you have any problems let me know and I'll do my best to help you out. |
Brahm - I added your shoutbox integration in with the mini-hacks on the first post. :)
AZone - Ahhh yes, a hack like that could affect your myvbindex page and vice versa. If you want to give me a link to the thread preview hack I can take a look at it and see if I can tell you what would need to be done differently so that both hacks would function properly. |
the news forum is not showing up .. hugh .. any idea?
http://www.spieleplanet.org/forum/myvbindex.php and is it possible to ge tmore than one news forums.. i need minimum 4 forums to be shown as news forum .. please help me with this.. nobody the last 4 motnh could helpo me to mak e portal news forums more than one ! |
Thanks Plurplanet, that's my first.
|
Highlander - Were the news posts made before or after you installed the script? If they were made after you installed the script, check your newthread.php and newreply.php files to make sure that you edited them right. If the posts were made before the script was installed, see this post for quick instructions on how you can update them - https://vborg.vbsupport.ru/show...3825#post333825
Showing the news from multiple fourms isn't hard. Just open your myvbindex.php file and look for: PHP Code:
PHP Code:
|
All times are GMT. The time now is 02:22 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:
|