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)

ragtek 06-07-2010 10:00 PM

ragtek Referrer Tab
 
Thid add-on adds a Tab to the userprofile where you can see all referred Users.


Installation:

Upload the ragtek Folder into your forum directory.

Install the xml file

changehistory:
1.0.5 =>
  • phrase fixed
  • add-on is now activated

djbaxter 06-08-2010 07:55 AM

When installed, priduct is disabled by default. Unexpected. It looked like it wasn't doing aything. I went to uninstall it and discovered it wasn't enabled.

djbaxter 06-08-2010 08:01 AM

Cosmetic bug:

Code:

<phrase name="referrerTab" date="1275564286" username="ragtek" version="1.0.2"><![CDATA[referred Users]]>
Should be:

Code:

<phrase name="referrerTab" date="1275564286" username="ragtek" version="1.0.2"><![CDATA[Referred Users]]>

ragtek 06-08-2010 08:12 AM

Quote:

Originally Posted by djbaxter (Post 2050325)
Cosmetic bug:

Code:

<phrase name="referrerTab" date="1275564286" username="ragtek" version="1.0.2"><![CDATA[referred Users]]>
Should be:

Code:

<phrase name="referrerTab" date="1275564286" username="ragtek" version="1.0.2"><![CDATA[Referred Users]]>

thx

Boofo 06-08-2010 02:54 PM

There is also a template eval in member_complete.php that needs to be updated for vb 4.

Why not just add the plugin files code to the XML instead of using separate files for them?

ragtek 06-08-2010 04:07 PM

Quote:

Originally Posted by Boofo (Post 2050501)
There is also a template eval in member_complete.php that needs to be updated for vb 4.

Why not just add the plugin files code to the XML instead of using separate files for them?

What's wrong with the eval? It's working.

And i have the seperate files because of my build/development add-on.

Boofo 06-08-2010 04:16 PM

vb 4 doesn't use eval anymore. It uses vB_Template::create now. Whether the eval is working or not is immaterial. The correct way to do it for vb 4 is the vB_Template::create. This was all I was trying to point out.

ragtek 06-08-2010 04:31 PM

Ah, youre right.
It seems that i was completly confused^^
thx

Boofo 06-08-2010 04:42 PM

And you could throw that right in a plugin and save having to use a separate file for that.

ragtek 06-08-2010 04:54 PM

No i cant because of my build tool;)

And how should i remove the eval? There is no template!

Just check the blog Add-on, it's doing it the same way!
PHP Code:

Member ProfileAdd Blog Links to standard MEMBERINFO display 

And if the vb developer do it this way, why i shouldn't do it too?


All times are GMT. The time now is 12:37 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.01102 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)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