MyBB Community Forums

Full Version: News Mod Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Ok yes i have this mod and it says set the variable to the dierectory of the forum so i put the link to the forum in like this

http://www.****.****.com/forums/showthread.php?tid=1

and i tried doing the home/********/public_html/forums/showthread.php?tid=1 but that didnt work either

any ideas??? what i need to put for the directory


and its a news mod lol
anyone help me?
anyone please?
In the tikitti news mod thing it says to put the forum directory of the varibale thingyy

i put the link of the forum yet it still didnt work

what is the directory to the forum

can some1 just show it too me the piece of code i need to put in for the variable>
Don't make multiple threads for your problem, this one is in the right forum, you should remove the other one.

Also, there is a rule here about not bumping your thread unless it has gone un-answered for one full day.

The support team, Tikitiki himself, or someone else with knowledge of this will answer when they get a moment, please be patient.
I thing that what you looking for, the path to your forum, It something like this "/home/YourSite/public_html/YourForumFolder"
Merged both threads.
Warning: main(/home/mass3716/public_html/http://massacrescripts.cwhnetworks.com/forums/global.php) [function.main]: failed to open stream: No such file or directory in /home/mass3716/public_html/news.php on line 11

Warning: main(/home/mass3716/public_html/http://massacrescripts.cwhnetworks.com/forums/global.php) [function.main]: failed to open stream: No such file or directory in /home/mass3716/public_html/news.php on line 11

Fatal error: main() [function.require]: Failed opening required '/home/mass3716/public_html/http://massacrescripts.cwhnetworks.com/forums/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mass3716/public_html/news.php on line 11



ok i changed it too $directory_to_forum = "http://massacrescripts.cwhnetworks.com/forums";

but it still aint working?????

help


this is the code in the news.php file

<?php

define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
define("NO_ONLINE", 1);

// The Directory to the forum you are using this on.
// You do not need a beggining or trailing slash
$directory_to_forum = "http://massacrescripts.cwhnetworks.com/forums";

require dirname(__FILE__)."/".$directory_to_forum."/global.php";

$plugins->run_hooks("site_news_plugin_run");

?>
Just use forums, nothing else. $directory_to_forum = "forums";
*oops* My bad. lol Do what crakter says and it'll work.
woohoo it worksss buttttt does it just show the topics for the first forum or does it also show the erm.... replies aswell like does it post the replies aswell on the page or just the topics?
Just the topics. You can click on the link to go to the thread. It was meant as a home page 'news' section.
Pages: 1 2