vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Add As Friend In Postbit (https://vborg.vbsupport.ru/showthread.php?t=305246)

edunite 04-26-2014 09:34 PM

Thanks for the initial offer but as 2 weeks have now passed i think it is time to call it a day and move on. It is potentially a great mod by giving the forum a social dimension but it doesn't work for some. I'm going to move with dragon bytes Advanced User Tagging but if someone else can give ozzy admin rights to their forum - please go ahead to try and solve this mystery as i'll be uninstalling it later :(

fxdigi-cash 04-27-2014 05:42 AM

Hi everyone,

sorry I wasn't able to explain how I fixed the issue with this mod... here is the details:

what I did is changing case 8 in the code to a custom template hook that you need to add manually...

so I've changed this :


Code:

case 8: $template_hook['postbit_controls'] .= $addfriend_postbit->render(); break;

to this:

HTML Code:

case 8: $template_hook['postbit_addfriend'] .= $addfriend_postbit->render(); break;
I did that twice in the same plugin and then add template hook manually in both postbit and postbit_legacy... find this code:

Code:

<span class="postcontrols">
Add below it this code:

Code:

{vb:raw template_hook.postbit_addfriend}
and here is the modified plugin if you don't know how to do it...

however, you still need to add the custom template hook as I mentioned before, otherwise, it won't work...

any question, please ask... :)

Good luck!!

obglobal.net 07-22-2014 10:40 AM

You rock, Ozzy. Awesomeness abounds!

Added to Postbit Controls Area (Legacy & Horizontal), and it's just a really nice, simple but effective idea.

Deserves MOTM.

ozzy47 07-22-2014 01:23 PM

Quote:

Originally Posted by obglobal.net (Post 2507776)
You rock, Ozzy. Awesomeness abounds!

Added to Postbit Controls Area (Legacy & Horizontal), and it's just a really nice, simple but effective idea.

Deserves MOTM.

Thanks glad you like it, and thanks for marking as installed. It already had won MOTM. :)

Lionel 08-15-2014 02:01 AM

Ozzy to fix every body problem, you need to globalize $vbulletin

global $vbulletin;
if (!is_member_of($vbulletin->userinfo, explode(',', $this->registry->options['ozzmodz_addfriend_postbit_groups'])))
{

nice little mod

ozzy47 08-15-2014 02:05 AM

Hmmm, I thought I did, I'll check it out after I get some thing straightened out in some other mods.

Lionel 08-15-2014 02:10 AM

Also you need to fix the cache template plugin. You are calling another mod as active

ozzy47 09-05-2014 08:59 PM

v1.0.2 Fixed some issues. Thanks to Lionel for reporting them. :)
  • Hopefully solved the issue with this not working for everyone.
  • Fixed a issue with the cache template plugin checking if the wrong mod was active.

CharlieDelta 09-13-2014 04:20 PM

Everyone shows as not friends in postbit within Private Messages.

ozzy47 09-13-2014 04:29 PM

Did this start happening in the latest version?

CharlieDelta 09-13-2014 04:57 PM

No this has been an on going problem. I had mentioned it a long time ago on your site but you were really busy at the time and I have just gotten back around to the issue. :)
http://ozzmodz.com/showthread.php/48...ull=1#post2152

ozzy47 09-13-2014 05:04 PM

OK I'll have to check it out in a bit.

EasyEazy 12-20-2014 02:40 PM

Perfect mate

thanks

ozzy47 12-20-2014 04:23 PM

Glad you like it, and thanks for marking as installed. :)

concepts 02-10-2015 02:41 PM

Amazing addon! another small step towards perfecting "the little things"

:)

ozzy47 02-10-2015 03:20 PM

Glad you like it, and thanks for marking as installed. :)


All times are GMT. The time now is 08:59 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.01119 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete