Nexia’s BBCode CSS wrap, version IP.Board 3.0

Will replace all your original bbcode wrappers to a CSS based template based on the new InvisionPower.Board 3.0 look.

here are the examples *(screenshot is because i may change the wrapper anytime for demos, so you are sure to see it):

nex_bbcode_wrap_ipb3.jpg

To take advantage of the MySQL bbcode, you need this: https://unpapapro.com/vbe-complimentaries/sql-mysql-query-highlighter/5141/

note: 08/24/09, updated, will now use the $stylevar[codeblockwidth], so it does not overflow on your postbit, and you can set the Code Block Width of all your styles to anything like 100%, 540px, or just 540, like originally… any width will fit.. Thanks to [user]Shelley[/user].

testing bbcodes styles

just to not show the test to everybody …

[sql]SELECT user, MAX(salary) FROM users
GROUP BY user HAVING MAX(salary) > 10;[/sql]

nexia;222 wrote:
Nam placerat libero vitae tortor laoreet viverra eu nec sapien. Sed nec quam ornare nisl egestas iaculis. Vivamus imperdiet suscipit risus, in interdum dui blandit et. Vivamus ut leo magna. Fusce egestas metus at eros pretium tristique.

Nam lobortis interdum neque non rhoncus. Duis est ligula, tincidunt non consequat nec, pellentesque ut mauris. Suspendisse ligula dolor, pharetra nec cursus sit amet, rhoncus et est. Nam vitae euismod nisl. Aliquam malesuada turpis et nibh scelerisque a sagittis tortor tristique.

nexia;222 wrote:
Nam placerat libero vitae tortor laoreet viverra eu nec sapien. Sed nec quam ornare nisl egestas iaculis. Vivamus imperdiet suscipit risus, in interdum dui blandit et. Vivamus ut leo magna. Fusce egestas metus at eros pretium tristique.

[php]//create array to temporarily grab variables
$input_arr = array();
//grabs the $_POST variables and adds slashes
foreach ($_POST as $key => $input_arr) {
if(is_array($input_arr)){
$_POST[$key] = addslashes_array($input_arr);
}else{
$_POST[$key] = addslashes($input_arr);
}

}[/php][html]

Text goes here

[/html]

Code:
int Ford_Fulkelson(Vertex**& neighborMatrix, Node*& list,
int source, int terminal, const int& n)
{
int flowOverall =0 ;
int min = 0;
do
{
min = INFINITY;
searchAugmentation(neighborMatrix, list, source,terminal,min,n);
flowOverall += min;
}while(min);
return flowOverall;
}

BBCode CSS wrap, version php.net

Will replace all your original bbcode wrappers to a CSS based template based on the PHP.net look.

here are the examples *(screenshot is because i may change the wrapper anytime for demos, so you are sure to see it):

nex_bbcode_wrap_phpnet.jpg

There will be other bbcode replacements like this one in the future, but you can not install more than one in the version that we have here… I may be releasing a style file if people request it, so you can dedicate the new bbcode wrappers to be applied to only your selected styles…

To take advantage of the MySQL bbcode, you need this: https://unpapapro.com/vbe-complimentaries/sql-mysql-query-highlighter/5141/

note: 08/24/09, updated, will now use the $stylevar[codeblockwidth], so it does not overflow on your postbit, and you can set the Code Block Width of all your styles to anything like 100%, 540px, or just 540, like originally… any width will fit.. Thanks to [user]Shelley[/user].

Nexia’s BBCode SQL PARSER

There is a missing bbcode for coders, highlighting SQL queries… and while i have the only one in hands for vBulletin, i provide it right away…

Simply upload that product. The usage is quite simple… you use the [SQL] or [MYSQL] bbcodes to wrap your sql queries, and the result will look like this:

nex_bbcode_sql_screen.jpg

if you are willing to change the highlight colors, they are located in the function nex_fetch_mysql_colors() inside the product file. I do not base my colors to the ini_set hightlight colors, like most of the other guys, because these colors are horrible.

btw, this is for SQL queries, if you insert your sql queries in PHP code, use the [PHP] bbcode instead, because the highlight is working on sql queries, not code, as it is supposed to be… 🙂

Welcome Message by the Hour

Will replace the boring « Welcome, nexia. » with something customized by the hour. You can edit each phrase to fit your fun.

nex_welcome_x_link_y_z.jpg

as you see in the screenshot, the phrase « fit » the moment of the day, and when you hover the entire line, you now see what time it is when you load the page, instead of having to go to the footer to read it.

nex_welcome_x_link_y_00 => Browsing by midnight, nexia?
nex_welcome_x_link_y_01 => Look, it’s dark outside, nexia!
nex_welcome_x_link_y_02 => nexia, don’t you think it’s time for bed?
nex_welcome_x_link_y_03 => Sure you’ll be hard to keep awake today, nexia…
nex_welcome_x_link_y_04 => Shut, everybody’s sleeping, nexia!
nex_welcome_x_link_y_05 => Welcome on this new day, nexia.
nex_welcome_x_link_y_06 => Early morning, nexia!
nex_welcome_x_link_y_07 => Breakfast time, nexia!
nex_welcome_x_link_y_08 => ‘Morning, nexia.
nex_welcome_x_link_y_09 => Welcome to another day of work, nexia.
nex_welcome_x_link_y_10 => Where’s the coffee yet, nexia?
nex_welcome_x_link_y_11 => Hum, hungry, nexia?
nex_welcome_x_link_y_12 => Dinner time, nexia!
nex_welcome_x_link_y_13 => Let’s get back to work, nexia!
nex_welcome_x_link_y_14 => So, having a nice day, nexia?
nex_welcome_x_link_y_15 => ‘Hope you enjoy your visit, nexia.
nex_welcome_x_link_y_16 => Clearing the day off, nexia?
nex_welcome_x_link_y_17 => Supper Time, nexia.
nex_welcome_x_link_y_18 => What’s on the News tonight, nexia?
nex_welcome_x_link_y_19 => Homeworks, nexia, homeworks.
nex_welcome_x_link_y_20 => Aren’t the kids in bed yet, nexia?
nex_welcome_x_link_y_21 => Time for some popcorn, nexia.
nex_welcome_x_link_y_22 => Need a massage, nexia?
nex_welcome_x_link_y_23 => Unable to sleep, nexia?

these phrases are the one used by the engine, without any template edit, any function added, it’s a simple replacement, and it works on the fly, so you do not have to bother if the user see the right sentence for its hour of browsing.

note: september 24th, 2009: debug of the date function to display in other languages. vbdate() was replaced by date() so the sentence is ok. Just import the product again.

october 6th, 2009: another fix regarding the date, dropped the « local » call so any language is supposed to display at the right time…

Management Links in Navbar

many times, you have to go to a specific location in your admincp, to edit templates, forums etc… here are the needed links to make you spare one or two clicks each time.

nex_manage_links_navbar.jpg

Each section of the menu will display ONLY when permission is given, admin or moderator or both… the entire menu will display only when you are an admin or moderator.

Welcome PM Message Not Changing

Hello!

I contacted you at vb.com and you sent me here – wow cool site and I think this is exactly what I need to get my forum all set up the way I want it FINALLY.

I didn’t know if you wanted me to check in here like I did over there, so I just took a chance. Do I need to remind you of what we discussed there?

Thanks, and looking forward to working with you.

Biz

Back, Fast and Furiously Releasing in the next days

I’ve been releasing 2 to 3 new addons each week for the last 6 months, like announced 6 months ago, but i think it’s not good… enough.

In the next 2 months, i’ll be releasing 10 LITTLE tweaks per week… maybe more. I’m clearing a lot of really small products from the backstore, because i want to be sure i re-released everything that was worth releasing before vB 4.0 come out of beta.

I’m actually on contract to create a complete « Virtual Stock Trading Competition », which will be released by the end of september. This is the only creation i work on right now, so i need something tangible to rework when in need of a change, and that’s why i start clearing the shelf of all the little tools i could release.

Some of these tools could « compete » with existing stuff at vBulletin.org, that’s something i tried to avoid all the time, but now that’s not my philosophy anymore. On vbEnhancer.com, people are coming from many places, and are not always visiting vB.org, so instead of refering them to vb.org, i’m answering the needs directly now… i hope this will get a more serious approach.

So i’ll be fast, firious and frantic in the next days… even if they are 2 lines codes, they are useful…

Drew take his vacations, so why not me… tssss

Ok so Drew, our main OOP Developer for the MTF engine is taking his vacations this week and i don’t know when he will be back.. kids, they always have good reasons to take a rest…

But hey, i’m the boss here, why can’t i take vacations?… it’s been 4 weeks i was suppose to take 3 days of vacations per week, and no possibility to do so because of the weather here… so now that they forecast 5 to 8 days of hot weather, i’m taking it as a signal i can not avoid… the kids are too dangerous in the regular environment, they need to run in a field, something….

so for the next 4 to 6 days, we will be out, camping and taking pictures of whales, blueberries and shitty gulls…

i’ll try to login to see if there is urgent matters, but do not take this as an occasion to give me trouble!

see ya when i come back with a major sunburn…:grin_Crying: