| AUTO CODE CREAT | |
Posted: 02/01/2006 4:49 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 7:47 PM
Location: St Pete, FL
|
|
|
|
|
|
I wonder if you both have the same MOD installed that allows you to post an image in your forum description? The example that javaidvip showed me is for an image which displays next to his forum on the Index page. Even though it does have numbers in the [img] tag, the gif image was still showing in his ACP. I didn't get a chance to look on his Index page though...
|
|
|
|
|
Back to Top |
|
|
| Re: AUTO CODE CREAT | |
Posted: 02/01/2006 5:15 AM |
|
|
|
|
Owl |
Posts |
153 |
Word Cnt. |
5,208 |
BDay |
Feb 2 |
Sign |
Aquarius |
Sex |
|
|
|
|
Joined: Oct 13, 2005
Local time: 4:47 AM
Location: Rajan Pur
|
|
|
|
|
|
HELLO BOSS
I INSTAIL THIS MOD IN FOURM
Code:
|
##############################################################
## MOD Title: Allow bbCode & Smilies In Forum Description
## MOD Author: battye < > (battye) http://forums.cricketmx.com
## MOD Description: Rather than using HTML in your forum description, you can now use bbCode.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Files To Edit (3): admin/admin_forums.php
## index.php
##
## Included Files (0): (N/A)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: Enjoy
##############################################################
## MOD History: 2005-31-03 - Version 1.0.0
## - First Release, it's pretty good 8)
## 2005-01-04 - Version 1.0.1
## - Fixed MOD Templating error
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Allow smilies / bbCode in forum description
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
'FORUM_DESC' => $forum_data[$j]['forum_desc'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
'FORUM_DESC' => smilies_pass(bbencode_second_pass($forum_data[$j]['forum_desc'], '')),
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forums.php
#-----[ FIND]------------------------------------------
#
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Allow smilies / bbCode in forum description
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
// There is no problem having duplicate forum names so we won't check for it.
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
#
#-----[ REPLACE WITH ]------------------------------------------
#
// There is no problem having duplicate forum names so we won't check for it (battye: bbcode mod edit)
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ") VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", bbencode_first_pass($HTTP_POST_VARS['forumdesc'], $uid)) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", bbencode_first_pass($HTTP_POST_VARS['forumdesc'], $uid)) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
#
#-----[ FIND ]------------------------------------------
#
'FORUM_DESC' => $forum_rows[$j]['forum_desc'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
'FORUM_DESC' => bbencode_second_pass($forum_rows[$j]['forum_desc'], ''),
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
|
THANKS |
|
|
|
|
Back to Top |
|
|
| AUTO CODE CREAT | |
Posted: 02/01/2006 5:51 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 7:47 PM
Location: St Pete, FL
|
|
|
|
|
|
There is nothing in the Allow bbCode & Smilies In Forum Description MOD that would cause the problem you're complaining about...
|
|
|
|
|
Back to Top |
|
|
| AUTO CODE CREAT | |
Posted: 02/01/2006 7:56 PM |
|
|
|
|
Hawk |
Posts |
178 |
Word Cnt. |
4,784 |
BDay |
Mar 26 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Oct 28, 2005
Local time: 12:47 PM
Location: New Zealand
|
|
|
|
|
|
I did install a mod that let you have a forum icon, but i uninstalled it - that was about 2 months ago now. |
|
|
|
|
Back to Top |
|
|
| AUTO CODE CREAT | |
Posted: 02/01/2006 10:50 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 7:47 PM
Location: St Pete, FL
|
|
|
|
|
|
If you installed the same MOD that javaidvip posted above, there is very little chance that it would be causing your problem either. There must be something else you both have in common...
LOL, I almost missed your message since your signature is getting so huge...
|
|
|
|
|
Back to Top |
|
|
| Information | |
|