vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - ragtek Referrer Tab (https://vborg.vbsupport.ru/showthread.php?t=244195)

Boofo 06-08-2010 05:33 PM

Okay, well, it's your product so however you choose to do it is for you to decide. I was just tying to offer some help is all.

ragtek 06-08-2010 05:37 PM

Yea and thx for this, but as you see, you was wrong.
I don't have a template at the member_complete plugin, so i'm not making anything wrong.

And atm my build-addon isn't finished, so i have to use the plugins this way (with includes)... There's no other way;)

Boofo 06-08-2010 06:23 PM

You show me anywhere in vb 4 where they are still using the eval statement and only then will I admit I was wrong.

ragtek 06-08-2010 06:45 PM

Quote:

Originally Posted by Boofo (Post 2050617)
You show me anywhere in vb 4 where they are still using the eval statement and only then will I admit I was wrong.

In the suite you can check the blog plugin and find the eval;)
How else would you make this?

Boofo 06-08-2010 08:06 PM

I would do the whole hack different and get away from the separate files. But since you need the files for your setup, there's not much else you can do, I guess. Like you said, if it works...

ragtek 06-08-2010 08:14 PM

And what's with the eval?*g* Am i right or not?

Yea, the big part of the files will go away, when my development/builder tool is finished, but until then i have to make it this way (i need them because of the PHP-IDE & SVN Support ;) )

Boofo 06-08-2010 09:02 PM

Well, as the blogs are still being worked on, IIRC, that eval won't be there long, as I'm sure it was overlkooked when they started replacing the evals. But yes, you are right, if that is what you want to hear for a single eval in the whole scheme of things.

ragtek 06-09-2010 02:50 AM

Thx, that's very good for my egohttp://ragtek.org/smil/badteeth.gif

Boofo 06-09-2010 03:53 AM

I gathered that from out posts. ;)

Also, I will PM you when I get it done on my end, but I did manage to find a way to do it all in a plugin. ;)

ragtek 06-09-2010 06:06 AM

And why do you think it's better to do it in an plugin instead of an file and including it?

If you use an php Opcache, my method is better, because eval'd code can't be optimized, the file can;) So it could be better for the performance.

And for me as Developer it's easier because i can work with an IDE and use SVN and export the whole add-on path /ragtek/addonid to the SVN Server...
Also it's easier for debugging.

But when my developer/add-onbuilder is finished, it will put the code into the plugin directly instead of the seperate files.

You're right that only a pluginfile is user friendlier than my method, but mine has much more benefits;)


All times are GMT. The time now is 10:30 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.01111 seconds
  • Memory Usage 1,729KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete