Home |
Last modified: 16-06-2020 |
mod_rewrite for friendly URL's
Get rid of unneeded stuff in page (right bar, etc.)
Where are articles saved, both raw and cooked?
The goal is to use NibbleBlog to post either articles or events. If the latter, we'll turn the AJAX-baxed and CAPTCHA-protected Comment section into a SignUp/SignOut section that first calls some code to check against a PunBB database that the user has been authenticated (session ID in cookie), and then lets the user sign up or sign out of the even, which means writing this information in MySQL and updating the NibbleBlog page accordingly.
As an alternative to rewriting the list of signed-up users, we could use an AJAX function to list/update within the event page, so that we don't need to rewrite the XML file and redownload the whole page.
$var_form['comments_active'] = NULL;
Hide checkbox option in form by removing whole DIV: <input name="form_field_comments_active" id="form_field_comments_active" type="checkbox" value="true" checked/>'.$_LANG['comments_enable'].'
Remove "Comments(0)" section since it's no longer applicable
<span class="post_footer_comment"><a class="comments" href="'.$post_info['real_link'].'#comment_list">'.$_LANG['comments'].'('.$post_info['comment_count'].')</a></span>
./content/private/blog_config.xml
<categorie><id>1</id><name>Event</name><description>Event</description></categorie></categories>
If category == 1, display form
print '<a href="'.forum_link($forum_url['logout'], array($forum_user['id'], generate_form_token('logout'.$forum_user['id']))).'&redirect=1">'.$lang_common['Logout'].'</a>';
else if ($action == 'out')
[...]
redirect("/blog/index.php"), $lang_login['Logout redirect']);