[MOD] Advanced BBCode Box 5.0.0a-6

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

PostAuthor: badboy » Wed Jun 07, 2006 12:53 pm

ohh my bad thanks
Last edited by badboy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Skywalker » Thu Jun 08, 2006 12:20 am

"Jason Sanborn";p="8613" wrote:Advanced BBCode Box was updated to version 6 to fix an issue found during 1.4.1 Beta Testing. On the IM Portal Edit Block (In the Admin Control Panel), some buttons were disappearing when they were being clicked on. As a result, a second BBCode JS file was created to handle image swapping for the BBCode boxes in the ACP.

To update:

DOWNLOAD: adv_bbcode_box_upg.zip

COPY: bbcode_box_a.js to mods/bbcode_box/bbcode_box_a.js

OPEN: templates/fisubice/admin/blocks_edit_body.tpl

FIND:
Code: Select all
<script></script>

REPLACE WITH]<script></script>[/code]

Note: If you have added buttons to the BBCode Box, please add the appropriate JavaScript into the new JS file, as you had done with the first JS file. In the case of images, make sure you use the correct relative image path, by adding [font=Courier New:ip730cno]./../[/font:ip730cno] in front of the image path. That is the only difference between the two JavaScript files. I recommend using [url=http]WinMerge[/url] to compare the two files for the differences.


could you maybe post the difference between those 2 so i can edit my original js file en so keep the functions of my addons also for edit blocks
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: badboy » Thu Jun 08, 2006 8:55 am

Here is a mod that you can add to it

this MOD uses javascript and adds 2 new buttons at the bottom of the posting & PM textbox. Using them you can change the texbox size.

here is a pic

[flash=,:k3or5p5e]http://img478.imageshack.us/img478/9417/after5kh.jpg[/flash:k3or5p5e]

Code: Select all
################################################################ MOD Title: Textbox Resize## MOD Author: Disturbed One < [url=http://www.hvmdesign.com#]http://www.hvmdesign.com#[/url]# MOD Description: This MOD uses javascript and adds 2 new buttons##           at the bottom of the posting & PM textbox. Using ##           them you can change its size.## MOD Version: 1.0.1#### Installation Level: Easy## Installation Time: 3 Minutes## Files To Edit: (1)##   templates/subSilver/posting_body.tpl## Included Files: N/A## License: [url=http://opensource.org/licenses/gpl-license.php]http://opensource.org/licenses/gpl-license.php[/url] GNU General Public License v2################################################################ For security purposes, please check: [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]# for the latest version of this MOD. Although MODs are checked## before being allowed in the MODs Database there is no guarantee## that there are no security problems within the MOD. No support## will be given for MODs not found within the MODs Database which## can be found at [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]############################################################### Author Notes:##   Have fun and enjoy this MOD.####   This MOD works great when you and your users are trying##   to post large messages because it allows you to have##   more room before scrolling.####   Support can be found at [url=http://www.hvmdesign.com.#]http://www.hvmdesign.com.#[/url]################################################################# MOD History:######   2006-05-27 - Version 1.0.1##      - Updated for phpBB Standards####   2006-04-22 - Version 1.0.0##      - Initial Release################################################################## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD################################################################-----[ OPEN ]------------------------------------------#templates/subSilver/posting_body.tpl  ##-----[ FIND ]------------------------------------------#  </script>  ##-----[ BEFORE, ADD ]------------------------------------------#  //====================================================================== |//==== Start Textbox Resize ============================================ |//==== v1.0.1 ========================================================== |//====function textbox_resize( pix ){     postfieldid = 'message_box';     postfieldobj = document.getElementById( postfieldid );     var box        = postfieldobj;     var cur_height = parseInt( box.style.height ) ? parseInt( box.style.height ) : 300;     var new_height = cur_height + pix;       if ( new_height > 0 )     {         box.style.height = new_height + "px";     }       return false;}//====//==== Author: Disturbed One [http://hvmdesign.com] ==================== |//==== End Textbox Resize ============================================== |//====================================================================== |  ##-----[ FIND ]------------------------------------------#         <textarea name="message"  ##-----[ IN-LINE FIND ]------------------------------------------#name="message"  ##-----[ IN-LINE AFTER, ADD ]------------------------------------------# Add this code after the same textarea box you just edited#  id="message_box"  ##-----[ FIND ]------------------------------------------#  <tr>                     <td><textarea>{MESSAGE}</textarea></td>                 </tr>             </table>  ##-----[ AFTER, ADD ]------------------------------------------#         <Begin>          <div>               <input>               <input>           </div>         <End>  ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## EoM



if you need more information about this mod you can get it here

http://www.hvmdesign.com/viewtopic.php?t=1155
Last edited by badboy on Thu Jun 08, 2006 11:24 am, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Jason Sanborn » Thu Jun 08, 2006 8:58 am

"Skywalker";p="8919" wrote:
"Jason Sanborn";p="8613" wrote:Advanced BBCode Box was updated to version 6 to fix an issue found during 1.4.1 Beta Testing. On the IM Portal Edit Block (In the Admin Control Panel), some buttons were disappearing when they were being clicked on. As a result, a second BBCode JS file was created to handle image swapping for the BBCode boxes in the ACP.

To update:

DOWNLOAD: adv_bbcode_box_upg.zip

COPY: bbcode_box_a.js to mods/bbcode_box/bbcode_box_a.js

OPEN: templates/fisubice/admin/blocks_edit_body.tpl

FIND:
Code: Select all
<script></script>

REPLACE WITH]<script></script>[/code]

Note: If you have added buttons to the BBCode Box, please add the appropriate JavaScript into the new JS file, as you had done with the first JS file. In the case of images, make sure you use the correct relative image path, by adding [font=Courier New:nk93mtet]./../[/font:nk93mtet] in front of the image path. That is the only difference between the two JavaScript files. I recommend using [url=http]WinMerge[/url] to compare the two files for the differences.


could you maybe post the difference between those 2 so i can edit my original js file en so keep the functions of my addons also for edit blocks

The only difference is that references to images are now referenced as "./../mods/bbcode_box/images/" instead of just "mods/bbcode_box/images/"
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Jason Sanborn » Thu Jun 08, 2006 8:59 am

"badboy";p="8974" wrote:Here is a mod that you can add to it

this MOD uses javascript and adds 2 new buttons at the bottom of the posting & PM textbox. Using them you can change the texbox size.

Looks like an interesting Mod. I won't be adding it to the core Mod at this time, but it is good to have a reference to it here for those who might be interested in it. <img>
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: badboy » Fri Jun 09, 2006 8:31 am

how do u remove/ make some of the bbcode only for mods/admin
Last edited by badboy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

PostAuthor: Jason Sanborn » Fri Jun 09, 2006 9:15 am

Check here:
http://integramod.com/forum/viewtopic.php?p=7226#7226

Skywalker's post and my comments afterwards.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: badboy » Fri Jun 09, 2006 11:06 am

this is the button i dont want user seeing

Code: Select all
<td><img></td>


how/where would i place it in the following code and


Code: Select all
<BEGIN><td>Button Image</td><END>
Last edited by badboy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

PostAuthor: Jason Sanborn » Fri Jun 09, 2006 11:20 am

Code: Select all
<BEGIN><td><img></td> <END>
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: badboy » Fri Jun 09, 2006 12:10 pm

its not working
Last edited by badboy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

PostAuthor: Jason Sanborn » Fri Jun 09, 2006 1:21 pm

Did you install the mod in the post I linked to? The mod is required for it to work.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: badboy » Fri Jun 09, 2006 3:47 pm

its working now thanks
Last edited by badboy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://img50.imageshack.us/img50/2371/userbar19iy.gif[/img][/url]
User avatar
badboy
Members
Members
 
Posts: 46
Likes: 0 post
Liked in: 0 post
Joined: Sun May 21, 2006 1:03 am
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Dr. Bantham » Sat Jun 10, 2006 6:05 am

"badboy";p="8974" wrote:this MOD uses javascript and adds 2 new buttons at the bottom of the posting & PM textbox. Using them you can change the texbox size.
I like this MOD. How could you control the width of the textbox? It seems that the width should stretch to 100% of the table cell. There is a substantial amount of dead space to the right of the textbox which could be utilized as edit space.

If I edit posting_body.tpl and reference 100% width in lieu of 450px, it stretches the box slightly to match the width of the ABBCB, but no more.[code]                     <td><textarea name="message" id="message_box" rows="15" cols="35" style="width]
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: SLY LS1 » Sat Jun 10, 2006 6:40 am

[quote=""Dr. Bantham";p="9144""]I like this MOD. How could you control the width of the textbox? It seems that the width should stretch to 100% of the table cell. There is a substantial amount of dead space to the right of the textbox which could be utilized as edit space.

If I edit posting_body.tpl and reference 100% width in lieu of 450px, it stretches the box slightly to match the width of the ABBCB, but no more.
Code: Select all
                    <td><textarea name="message" id="message_box" rows="15" cols="35" style="width][/quote]

Dont forget to take into account that not everyone has a large screen.

-----------------------------------------------------------------------------------

Something else you might want to change Jason - the version number

In posting_body.tpl

[b]Find:[/b]

[code]<td><a>Advanced BBCode Box v5.0.0</a> </td>[/code]

[b]Change To:[/b]

[code]<td><a>Advanced BBCode Box v6.0.0</a> </td>
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Dr. Bantham » Sat Jun 10, 2006 7:37 am

"SLY LS1";p="9148" wrote:Dont forget to take into account that not everyone has a large screen.
Of course. What I am looking for is a way to maximize the width expansion the textbox to automatically to fit the cell - without increasing the page width.
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Threat009 » Tue Jun 13, 2006 3:30 pm

Is this the latest version? advanced_bbcode_box_5.0.0a-6.zip
and does it cover pafiledb and shoutbox?
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

PostAuthor: tmotley » Tue Jun 13, 2006 3:40 pm

I've applied all the code along the way (except for the admin/mod only buttons) so I'd say:

Yes, that's the latest and that covers the pafiledb and shoutbox.
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: clanpunisher » Sat Jun 24, 2006 5:32 am

very good job

its a highlight I won't miss in my forum

i also add a wwo logo for itemstats, so i can post items also ^^

the only thing what could be better: is the table function, that is really confusing :/

which u can see/try in offtopic:
http://www.warcraftclan.de/forum/viewforum.php?f=13
Last edited by clanpunisher on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

clanpunisher
Newbie
Newbie
 
Posts: 27
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 13, 2006 4:04 pm
Cash on hand: 0.00

PostAuthor: Jason Sanborn » Wed Jun 28, 2006 3:27 pm

Table isn't the best solution out there, but it was the only way to get it to work with the existing Table Mod, and the existing JavaScript interface. Doing something more would require a near complete rewrite.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: napukjon » Fri Aug 04, 2006 6:50 am

Fantastic works like a treat!
Last edited by napukjon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]NaPUK - Finding the Truth behind the Legends of England, Scotland and Wales![/url]

napukjon
Members
Members
 
Posts: 83
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:54 am
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: Flex » Wed Aug 16, 2006 8:17 pm

I'm holding off for 141 since this hack is implemented into it, that way I don't have to install it a separate mod <img>
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: evolver » Thu Aug 17, 2006 6:24 am

There is one tag I don't like...
[web]

I do like the function, but I really don't like the way it works...

[web] is an Iframe.
But I don't like the tag because:
[list type=decimal][*]The tag uses a standard height (350) and width (100%)...
I don't like the standard height (width 100% is OK)
It gives a scrollbar, even when an external page is only just little higher...
The [web]tag can also be used for tickers, but then ofcourse, it displays them too high...[*]The posting page stretches out when replying...hasn't anyone noticed this yet?
That's because the 'Topic Review' is in an Iframe as well,
and displaying an Iframe in an Iframe with relative width is never any good...[/list]

So I did some modifications to make me like it much better:
Code: Select all
##################################################################### Title]http://-tag bbcode## Author:      Evolver## Description:      A new [web height=#]-tag with custom height##                        This new tag replaces the normal [Web]-tag in selection and asks for a height (maximum 999)##                        The original tag just stays to keep it working with older messages##                        ##                        Topic Review displays webtags as "([url=http://www.website.com]http://www.website.com[/url])", not as Iframes anymore,##                        so no more overstetched posting-page by reply...##                        Why should an Iframe be displayed in topic review anyway?###### Installation Level:   Easy## Installation Time:   2 minutes## Files To Edit (5):   ##         includes/bbcode.php,##         includes/topic_review.php##         templates/*/bbcode.tpl##         mods/bbcode_box/bbcode_box.js##         mods/bbcode_box/bbcode_box_a.js## Included Files:   n/a####################################################################### Author Note:#### Be sure to edit all templates you have loaded####################################################################### Before Adding This Hack To Your Forum,## You Should Back Up All Files Related To This hack###################################################################  ##-----[ OPEN ]------------------------------------------#  includes/bbcode.php  ##-----[ FIND ]------------------------------------------#      $bbcode_tpl['web'] = str_replace('{URL}', '\1', $bbcode_tpl['web']);  ##-----[ AFTER, ADD ]------------------------------------------#      $bbcode_tpl['flexiweb'] = str_replace('{URL}', '\2', $bbcode_tpl['flexiweb']);    $bbcode_tpl['flexiweb'] = str_replace('{HEIGHT}', '\1', $bbcode_tpl['flexiweb']);  ##-----[ FIND ]------------------------------------------#      // [web]Web Iframe URL[/web:11onomf5] code..    $patterns[] = "#[web:$uid:11onomf5]http://(.*?)[/web:$uid]#si";    $replacements[] = $bbcode_tpl['web'];  ##-----[ AFTER, ADD ]------------------------------------------#      // [web]flexiWeb height=X Iframe URL[/web:11onomf5] code..    $patterns[] = "#[web height=([0-9:11onomf5]http://?[0-9]?[0-9]):$uid](.*?)[/web:$uid]#si";    $replacements[] = $bbcode_tpl['flexiweb'];  ##-----[ FIND ]------------------------------------------#           // [web]Web Iframe URL[/web:11onomf5] code..    $text = preg_replace("#[web:11onomf5]http://(http(s)?://)([a-z0-9-.,?!%*_#:;~\&$@/=+]+)[/web]#si", "[web:$uid]\1\3[/web:$uid]", $text);  ##-----[ AFTER, ADD ]------------------------------------------#      // [web]flexiWeb Iframe URL[/web:11onomf5] code..    $text = preg_replace("#[web height=([0-9:11onomf5]http://?[0-9]?[0-9])](http(s)?://)([a-z0-9-.,?!%*_#:;~\&$@/=+]+)[/web]#si", "[web height=\1:$uid]\2\4[/web:$uid]", $text);  ##-----[ OPEN ]------------------------------------------#  templates/*/bbcode.tpl  ##-----[ FIND ]------------------------------------------#  <BEGIN><iframe></iframe><END>  ##-----[ AFTER, ADD ]------------------------------------------#  <BEGIN><iframe></iframe><END>  ##-----[ OPEN ]------------------------------------------#  mods/bbcode_box/bbcode_box.js  ##-----[ FIND ]------------------------------------------#  web_help="Insert web page: [web]Page URL[/web:11onomf5]";  ##-----[ REPLACE WITH ]------------------------------------------#  web_help="Insert web page: [web height=#:11onomf5]http://Page URL[/web:11onomf5]";  ##-----[ FIND ]------------------------------------------#  function BBCweb() {    var ToAdd = "";    var Result1 = 0;    while (Result1 == 0)    {       var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","","");       if (Prompt1 == "^pcncl-1")       {          Result1 = 1;       }       else if (Prompt1 != "^perr-1")       {          ToAdd = "[web:11onomf5]http://"+Prompt1+"[/web:11onomf5]";          Result1 = 1;       }    }    PostWrite(ToAdd);}  ##-----[ REPLACE WITH ]------------------------------------------#  function BBCweb() {    var ToAdd = "";    var Result1 = 0;    while (Result1 == 0)    {       var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","","");       if (Prompt1 == "^pcncl-1")       {          Result1 = 1;       }       else if (Prompt1 != "^perr-1")       {                var Result2 = 0;                while (Result2 == 0)                {                   var Prompt2 = showPrompt("Enter the height of the iframe.","350",1,"You didn't enter a height.",/^[d]+$/,"Only numbers are allowed.");                   if (Prompt2 == "^pcncl-1")                   {                      Result2 =1;                   }                   else if (Prompt2 != "^perr-1")                   {                                                         ToAdd = "[web height="+Prompt2+":11onomf5]http://"+Prompt1+"[/web:11onomf5]";                      Result2 = 1;                   }                }          Result1 = 1;       }    }    PostWrite(ToAdd);}  ##-----[ OPEN ]------------------------------------------#  mods/bbcode_box/bbcode_box_a.js  ##-----[ FIND ]------------------------------------------#  web_help="Insert web page: [web:11onomf5]http://Page URL[/web:11onomf5]";  ##-----[ REPLACE WITH ]------------------------------------------#  web_help="Insert web page: [web height=#:11onomf5]http://Page URL[/web:11onomf5]";  ##-----[ FIND ]------------------------------------------#  function BBCweb() {    var ToAdd = "";    var Result1 = 0;    while (Result1 == 0)    {       var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","","");       if (Prompt1 == "^pcncl-1")       {          Result1 = 1;       }       else if (Prompt1 != "^perr-1")       {          ToAdd = "[web:11onomf5]http://"+Prompt1+"[/web:11onomf5]";          Result1 = 1;       }    }    PostWrite(ToAdd);}  ##-----[ REPLACE WITH ]------------------------------------------#  function BBCweb() {    var ToAdd = "";    var Result1 = 0;    while (Result1 == 0)    {       var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","","");       if (Prompt1 == "^pcncl-1")       {          Result1 = 1;       }       else if (Prompt1 != "^perr-1")       {                var Result2 = 0;                while (Result2 == 0)                {                   var Prompt2 = showPrompt("Enter the height of the iframe.","350",1,"You didn't enter a height.",/^[d]+$/,"Only numbers are allowed.");                   if (Prompt2 == "^pcncl-1")                   {                      Result2 =1;                   }                   else if (Prompt2 != "^perr-1")                   {                                                         ToAdd = "[web height="+Prompt2+":11onomf5]http://"+Prompt1+"[/web:11onomf5]";                      Result2 = 1;                   }                }          Result1 = 1;       }    }    PostWrite(ToAdd);}  ##-----[ OPEN ]------------------------------------------#  includes/topic_review.php  ##-----[ FIND ]------------------------------------------#            $bbcode_uid = $row['bbcode_uid'];  ##-----[ AFTER, ADD ]------------------------------------------#            $message = preg_replace("#[web:$bbcode_uid]#si", '[align=center:'.$bbcode_uid.'][size=99px]( ', $message);          $message = preg_replace("#[web height=([0-9]?[0-9]?[0-9]):$bbcode_uid]#si", '[align=center:'.$bbcode_uid.'][size=99px]( ', $message);          $message = preg_replace("#[/web:$bbcode_uid]#si", ' )[/size][/align:'.$bbcode_uid.']', $message);  ##-----[ SAVE/CLOSE/UPLOAD ALL FILES ]------------------------------------------## EoM

I really like the [web] - tag now <img>
Last edited by evolver on Sun Oct 15, 2006 2:11 am, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: jackflack » Fri Sep 01, 2006 4:17 pm

"clanpunisher";p="10096" wrote:very good job

its a highlight I won't miss in my forum

i also add a wwo logo for itemstats, so i can post items also ^^

the only thing what could be better: is the table function, that is really confusing :/

which u can see/try in offtopic:
http://www.warcraftclan.de/forum/viewforum.php?f=13


I too use Item stats and I just threw up a fresh Integramod site. I am thinking about using this mod and saw on clanpunishers site he had the itemstats icon built into the editor. Is this true for the download listed here? Or is clanpunishers a custom version.

Clanpunisher if yours is custom can I get a copy? Because yours is perfect <img>
Last edited by jackflack on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jackflack
Newbie
Newbie
 
Posts: 13
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 29, 2006 3:43 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: atomhead » Tue Oct 10, 2006 4:58 am

Worked like a charm, only thing is I updated the v6 file but the box still says v5.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: [MOD] Advanced BBCode Box 5.0.0a-6

PostAuthor: dan0042 » Mon Oct 30, 2006 11:28 am

My quote
Not workin
Last edited by dan0042 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 21, 2006 4:06 pm
Cash on hand: 0.00

PostAuthor: goodgad » Sat Dec 09, 2006 7:14 am

when i try and download this theres only a download.php file is this right ?
Last edited by goodgad on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

goodgad
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sat Oct 28, 2006 8:25 am
Cash on hand: 0.00

PostAuthor: IntegraMOD » Sat Dec 09, 2006 2:54 pm

"goodgad";p="18203" wrote:when i try and download this theres only a download.php file is this right ?

Please try again I think there was an issue when the server was changed that has now been fixed.
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

Previous

Return to Mods/Hacks

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]