[sources] bbcode parser

Conventional discussion only. No politics, religion and other topics that might cause conflicts.
Strictly appropriate discussions only, meaning spammers and trolls will be banned on first offense.

Moderator: Moderators

Postby Basilakis on Tue Jan 10, 2006 2:05 pm

I want it to the forum, so i copied and replaced the existing bbcode. I used also wietopic.php Ca provided but something is missing as the select is creating!
Basilakis
Registered User
Registered User
 
Posts: 113
Joined: Sat Oct 09, 2004 4:40 pm

Postby UseLess on Tue Jan 10, 2006 6:12 pm

Greetings,

There are lots of changes to various files to make in order to get the parser working.

You cannot just simply replace the existing 'bbcode.php' and 'viewtopic.php' and expect it to work for example you'd have to alter these files;

Code: Select all
## Files To Edit:
##               admin/admin_board.php
##       includes/functions_post.php
##       includes/topic_review.php
##       language/lang_english/lang_admin.php
##       language/lang_english/lang_main.php
##       common.php
##       posting.php
##       privmsg.php
##       viewtopic.php
##
##       templates/<style name>/admin/board_config_body.tpl
##
##       templates/ca_aphrodite/style.css
##       templates/MorpheusX/style.php
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Basilakis on Tue Jan 10, 2006 6:48 pm

So they are lot of files... Useless i have read that you were going to create a mod for this... Will you? ;)
Basilakis
Registered User
Registered User
 
Posts: 113
Joined: Sat Oct 09, 2004 4:40 pm

Postby Mighty Gorgon on Tue Jan 10, 2006 9:40 pm

[quote user="Basilakis" post="64010"]So they are lot of files... Useless i have read that you were going to create a mod for this... Will you? ;)[/quote]
As specified several times, it's not just a matter of including one file... :roll:

It took around a week for me to integrate this code on a premodded site, and most important, many other mods should be modified to work with this BBCode (portal, news, album, knowledge base, calendar, etc.), even if someone will write a mod for including this BBCode on standard phpBB. What I suggest you is to use this code only if you are quite confident with PHP and phpBB.

If you use it as a replacement of standard BBCodes you could have a lot of problems with other mods. Maybe for those who wish to integrate it just on viewtopic, I suggest to rename this file, and use it for includes just on posting and viewtopic, while leaving the standard BBCode parsing for all other pages (so all other mods won't be affected by this modification).

I think that the power of this code could be really appreciated mostly on posting and viewtopic.
Luca
User avatar
Mighty Gorgon
Registered User
Registered User
 
Posts: 15
Joined: Mon May 23, 2005 8:58 pm
Location: Italy

Postby Basilakis on Wed Jan 11, 2006 8:45 am

That is greate idea ;). So if someone wants and is able to write this mod he could probably do it by this way ;)
Basilakis
Registered User
Registered User
 
Posts: 113
Joined: Sat Oct 09, 2004 4:40 pm

Postby Basilakis on Fri Feb 10, 2006 3:50 pm

I'm trying to do something to all this based on phpBB_xs. Can u pls mighty tell me witch files are included to this "mod". And if u write everywhere that u use this parser. Thanks a lot.
Basilakis
Registered User
Registered User
 
Posts: 113
Joined: Sat Oct 09, 2004 4:40 pm

is it me

Postby sprockett on Wed Feb 15, 2006 8:32 am

is it me or
does size not work
bold works
italic works
sprockett
Registered User
Registered User
 
Posts: 2
Joined: Wed Feb 15, 2006 8:30 am

Postby UseLess on Wed Feb 15, 2006 9:38 am

Greetings,

Correct size 24 does not work... because of this;

Code: Select all
if($size < 9 || $size > 18)
{
   return $error;
}


however you could always change the 18 to 24...
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby sprockett on Wed Feb 15, 2006 10:37 am

sweeeetttt... thanks for the reply!!
sprockett
Registered User
Registered User
 
Posts: 2
Joined: Wed Feb 15, 2006 8:30 am

Previous

Return to Regular Discussion

Who is online

Users browsing this forum: No registered users and 0 guests