thanks.
Code: Select all
[edit] forget it, this mod is to buggy I'll wait till it is better coded[/edit]
Code: Select all
[edit] forget it, this mod is to buggy I'll wait till it is better coded[/edit]
justbishop wrote:Code: Select all
Warning: Missing argument 16 for prepare_post() in /home/justbis/public_html/includes/functions_post.php on line 124 Warning: Missing argument 25 for submit_post() in /home/justbis/public_html/includes/functions_post.php on line 227 [/quote] make sure your prepare_post in weblog_posting, posting.php and functions_post.php is the same i.e functions_post.php might have function prepare_post($word, $friend,$mood,$topic); so weblog_posting, posting.php must be calling prepare_post ($word, $friend,$mood,$topic);
gurukast wrote:justbishop wrote:Code: Select all
Warning: Missing argument 16 for prepare_post() in /home/justbis/public_html/includes/functions_post.php on line 124 Warning: Missing argument 25 for submit_post() in /home/justbis/public_html/includes/functions_post.php on line 227 [/quote] make sure your prepare_post in weblog_posting, posting.php and functions_post.php is the same i.e functions_post.php might have function prepare_post($word, $friend,$mood,$topic); so weblog_posting, posting.php must be calling prepare_post ($word, $friend,$mood,$topic);[/quote] Thanks, that's probably it, as I also have Now Playing installed on the forum ;) ETA: Yay! That was the problem, thanks :D On to the next set of questions: I'd like to make the "mood" option into a text box instead of a drop down, where people can type anything they'd like. I'd also like to do away with the emoticons for moods. I'm not even sure where to start for this, but if someone could give me a clue as to which files to work on, I might be able to wade through it! ETA again: One more...what would be the link to create a new post? I'm putting it on the forum and blog index pages, and tried using the following, but it didn't work; just sent me to http://fangirlonline.com : [quote] <a href="{U_POST_NEW_TOPIC}"><b>Post New Entry</a> [/quote]
Code: Select all
Template->loadfile(): File /home/parodiawww/html/phpBB2/weblogs/weblog_2.cfg for handle body is empty
Code: Select all
<a href="{U_NEW_ENTRY}" class="nav">{NEW_ENTRY}</a>
dummyinva wrote: I fixed the weblogs.php page so that it loads in a timely manner. You did a huge cartesian join in there for no reason. Also I converted the array variables to associative arrays and sorted them with the built in usort and comparison functions.
its much faster and easier to maintain
here is a link to the faster code
http://www.virginiabeats.net/shared/code/weblogs.txt
use it to replace your weblogs.php