vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Post Bit Modifyer System (https://vborg.vbsupport.ru/showthread.php?t=53323)

zajako 05-23-2003 09:00 PM

Post Bit Modifyer System
 
This system was originaly created for My RPG Creator System making it so that people can add things to their postbits without having to edit functions.php.

This adds an option to your admin panel that allows you to add things to your functions file without having to scan through the coding, or even make a file edit. Just add it to the bottom of your modifyer and it will work in your postbit template.

Remeber though that all coding in the modifyer needs to be in php syntax, if not it will cause pages to error.

One major benift is when installing hacks like any of my old rpg stat in postbits, you dont gotta edit the functions file.

If you have any good postbit modifyers you would like to share, post them and when i read them ill add a link to the post in this first post.

Files:
version 1.0

zajako 05-24-2003 09:03 AM

version 1.0

Mephisteus 05-24-2003 09:08 AM

This could be good, I'll check it out :)

Rein Masamuri 05-24-2003 09:10 AM

excelent addition to your hack Zaj
*installs*

Dean C 05-24-2003 10:47 AM

Call me stupid but you description was a little to vague for misty to understand ;)

- miSt

assassingod 05-24-2003 11:06 AM

I got depressed after installing this hack 'cos I got several errors. Anyone else get problems?

7harmonicz 05-24-2003 11:27 AM

yeah, i just got some as well, didnt work for me. Maybe I did something wrong but I doubt it.

Chris M 05-24-2003 03:42 PM

Nice idea:)

Satan

cirisme 05-24-2003 04:01 PM

Good idea.

How does it do with performance?

zajako 05-25-2003 11:00 AM

performance it works great, that is if it is working, ill do a test install on a fresh board and see i if i get errors. Basicaly what it does though is adds coding to your functions.php from a database entry, the database entry is the postbit modifyer. It uses the eval code to do so.

Im going to try it on a test board and make sure it does not have any errors and if so fix them.

Dean C 05-25-2003 04:14 PM

What does it do James - i still don't understand :)?

- miSt

Erwin 05-25-2003 11:21 PM

I think basically, if I understand this hack correctly, this hack creates a database entry - you can then use your Admin CP to edit and add code to the database entry. You then add code in functions.php that includes this database entry, so you can add or remove code to functions.php without needing to edit it. Good idea. What would be better would be to do it with a template, like phpinclude, but for functions.php :)

Dean C 05-26-2003 08:33 AM

Ahh i understand now :)

- miSt

assassingod 05-26-2003 08:38 AM

Any new with this Zaj? I wanna try it out:p

zajako 05-27-2003 12:42 AM

it should work, no one has reported any actual error, and it rusn fine for me.

Erwin i thought about intigrating it as a template, however, the template tree gets pretty ugly when you have multiple themes and such, plus you would have to modify it for every theme and it just gets worse with that. So instead i just made it its own table.

But basicaly as Erwin said its a phpinclude template that is right in the middle of your functions file, so you can add to your postbit coding without a file edit.

Very usefull for people who want to make things customized for individual users and such like putting $nickname in your postbit, then adding in your postbit modifyer these lines:

if($bbuserinfo[username]=="Zajako")
$nickname="Zaj";

that would make my specific nickname show in my postbit. This is handy for giving admin nick names to like specific people, that can't be edited by the users themselves.

Just one of the many uses of this system.

Rampag33 10-29-2003 02:49 PM

Tried installing on v232 I get an error after installing.


All times are GMT. The time now is 03:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01753 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete