Moderator: Integra Moderator
"Jason Sanborn";p="7078" wrote:A minor bug was found and fixed in the Gotopost Wizard. Download the updated bbcode_box.js file from the first post to correct the bug.
Could you share these additions with the rest of us as well? They might be of interest and could same us all time and patience. Thanks!"Skywalker";p="7094" wrote:i've added more than 10 extra bbcodes so i cannot replace the js file, but iff you post the fixes here i can replace the codes.
"Dr. Bantham";p="7100" wrote:Could you share these additions with the rest of us as well? They might be of interest and could same us all time and patience. Thanks!"Skywalker";p="7094" wrote:i've added more than 10 extra bbcodes so i cannot replace the js file, but iff you post the fixes here i can replace the codes.
img_help = "Insert image]http://image path[/img] [siteimg(=left|right|center)]AlbumImage#[/siteimg]";
ToAdd = "[gotopost="+Prompt1; if (Prompt2 != "") { ToAdd += ","; }
function BBCimg() { var ToAdd = ""; var imgType = "img"; var Result1 = 0; var confirmSiteimg = confirm("Do you want to display a site image?nnSite images will display an image thumbnail fromnthe image gallery, linked to the larger image.nnCancel will link to an external image."); while (Result1 == 0) { var Prompt1 = ""; if (confirmSiteimg) { Prompt1 = showPrompt("Enter the gallery image number","",1,"You didn't enter the image number.",/^[d]+$/,"Only numbers are allowed."); imgType = "siteimg" } else { Prompt1 = showPrompt("Enter the image URL","http]["+imgType+"]"+Prompt1+"[/"+imgType+"][/align:14mnwniz]"; } else { ToAdd = "["+imgType; if (Prompt2 != '') { ToAdd += "="+Prompt2.toLowerCase(); } ToAdd += "]"+Prompt1+"[/"+imgType+"]"; } Result2 = 1; } } Result1 = 1; } } PostWrite(ToAdd);}
"Jason Sanborn";p="7144" wrote::oops: My apologies. I didn't even think of people who would have modified the JS file. In the future I'll include the JS edits as well.
I apologize for the confusion, but future modifications will be posted as well.
"Jason Sanborn";p="7144" wrote:FIND:
- Code: Select all
ToAdd = "[gotopost="+Prompt1; if (Prompt2 != "") { ToAdd += ","; }
ToAdd = "[gotopost="+Prompt1; if (Prompt2 != "" ) { ToAdd += ","+Prompt2; }
"sanji";p="7220" wrote:Even more fantastic would be the possibility to control which buttons are displayed from the ACP. But this might be a little difficult to implement.
"sanji";p="7220" wrote:Therefore, I wonder if there was a simple way to remove some of the buttons for normal users, but leave them for example for moderators or administrators. The function does not need to be blocked for normal users, but if the icone itself would not be displayed, that would be enough.
Is that possible (I mean, not too difficult)?
Registered users: Bing [Bot], Unspecified Bot