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)

ozzy47 12-01-2013 11:00 PM

[OzzModz] Add As Friend In Postbit
 
Another mod brought to you by
https://vborg.vbsupport.ru/external/2015/01/1.png

[OzzModz] Add As Friend In Postbit, has won MOTM for January 2014 Mod of the Month!

This is just a small mod, that will allow you to show a Add As Friend button in the postbit.
This mod may increase participation on your site, as users become more familiar with the friends system. As their friend base grows, they may be more willing to return.

It is a simple installation, upload the contents of the upload folder and import the product XML, product-ozzmodz_addfriend_postbit

You can edit the options under the settings, [OzzModz] Add As Friend In Postbit Settings

Complete Feature List
  • Option to disable the mod completely.
  • Option to choose which usergroups can see the buttons.
  • Option to select one of seven different locations in the postbit to display the buttons.
    • Above Every Post Container = Above every post on the page.
    • User Info Left = Below the users title.
    • User Info Right After Posts = After the post count in the postbit.
    • User Info Right = Above the instant messenger icons.
    • Message Area Start = In the post container above the posts.
    • Signature Start = Above the signature.
    • Signature End = Below the signature.
    • Postbit Controls Area = Before the IP icon and the Report post icons.
  • Option to set the path and image name to the image you want to use for the add friend button.
  • Option to set the path and image name to the image you want to use for the is friend button.
First screenshot is how it looks in the postbit control area, second is how it looks in the postbit, third is of the settings.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

v1.0.0 Initial Release

v1.0.1 Fixed some issues.
  • Fixed the issue wit the images not showing in some spots.
  • Fixed a issue if you choose, Above Every Post Container = Above every post on the page, that the images would all display at the top of the page.
v1.0.2 Fixed some issues.
  • 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.

tbworld 12-02-2013 03:56 AM

Nice idea! @Ozzy47 :)

ozzy47 12-02-2013 03:58 AM

Thanks, I think some will find it useful. :)

faisaly.com 12-02-2013 07:12 AM

https://vborg.vbsupport.ru/attachmen...2&d=1385947839

added already not showing on postbit horizontal using option - Postbit Controls Area (Legacy & Horizontal)

this option worked ok - User Info Right After Posts (Legacy & Horizontal)

Marcin1 12-02-2013 08:04 AM

Image is_friend.png is not displayed even if user was added to contact list (still icon add friend). Add_friend.png is working correctly in every option in postbit.

eazygreek 12-02-2013 09:33 AM

to displayed the images,you must edit the images options like that

https://vborg.vbsupport.ru/external/2013/12/46.png

Marcin1 12-02-2013 10:47 AM

It's done accordingly to screenshot. I switched location To Add As Friend Image. I pasted is_friend.png and icon's working... When is setup originally is friend not displaying...

ozzy47 12-02-2013 10:50 AM

I'll look on my dev site when I get home from work and see if I can see what is going on. If I can not replicate the issues, I will need access to someones site that is having tie problems. :)

faisaly.com 12-02-2013 11:01 AM

the icons change fine and the default location works properly, just some of the displays dont work correctly... but it does work!

it is just version1 I am sure he will fix the issues, hes a great coder!

also remember custom themes could cause these problems where images dont display properly, i am sure it was tested on the default style and worked perfect using that style.

ozzy47 12-02-2013 11:06 AM

Yeah it does, and was coded on the default style. I also checked it on a few custom styles.

faisaly.com, if you want, can you send me a admin account, that has a friend, and a link to a post, where I can see the icons, and the steps to do to reproduce the issue? If so I can look into it when I get home from work.

DemOnstar 12-02-2013 12:05 PM

Part of the solution with this is that the default location for images is pre-filled and the image titles are without underscore..i.e. images/ozzmodz/friends/add friend.png

when it should be images/ozzmodz/friends/add_friend.png
As is with images/ozzmodz/friends/is friend.png

There are other issues, like is friend is not showing up but not got round to that yet.
I will help all I can..

Another Ozzmodtastic idea though..

ozzy47 12-02-2013 12:08 PM

You are correct, I have change the XML to fix that. It will only work on new installs. So if you want, delete the mod, and re-install the new one.

Or simply change the image settings to the following:
add_friend.png
is_friend.png


That's what I get for changing the images in the middle of development. :(

DemOnstar 12-02-2013 12:34 PM

Quote:

Originally Posted by ozzy47 (Post 2465172)

That's what I get for changing the images in the middle of development. :(

That's what you get when you are going out full on to bolster vB 4 in these trying times..

May your god go with you..

BTW, I did change the pic names manually, just thinking about the new guy and avoiding the confusion..
Not to worry, the whole community knows of your Oscar Goldman ties...:eek:

nxtgen 12-02-2013 02:22 PM

Installing again... So many OzMods everywhere on my site!!

Thanks Ozzy!!!

Edit... I am trying to use the Postbit Controls Area.. Actually I tried a few different locations.. Used default theme and a few custom styles. They aren't showing up for me. Its enabled and set to the correct usersgroups..

ozzy47 12-02-2013 02:34 PM

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

jjohns12 12-02-2013 03:34 PM

Another great mod Thanks

Just one issue on my site in the selection of Postbit Controls Area (Legacy & Horizontal

The Add Friend works but the Is Friend Will not show Text or image any ideas?

nxtgen 12-02-2013 03:46 PM

You have the images set correctly under options?

The mod isn't showing up for me at all, doesn't matter where I place it.

I wonder if something else is conflicting with it.

DemOnstar 12-02-2013 04:23 PM

Quote:

Originally Posted by jjohns12 (Post 2465210)
Another great mod Thanks

Just one issue on my site in the selection of Postbit Controls Area (Legacy & Horizontal

The Add Friend works but the Is Friend Will not show Text or image any ideas?

Same here...
Is_friend shows nowhere...

I tried all of the settings and Postbit Controls Area (Legacy & Horizontal) is the only place that displays the image add_friend.png.. Other settings only display the link with the user name.. The link works but still no is_friend.png after the link is carried through..

@Ozz, hope that helps..

XGC Paravain 12-02-2013 04:50 PM

This is a good idea going to install definitely :) just can't right now :( have to play taxi lol but when I get back :)

ozzy47 12-02-2013 09:41 PM

Can someone who is having these issues send me a admin account, that has a friend, and not a friend in a post, with the link to the post, so I can figure out what is going on. :)

ozzy47 12-02-2013 10:54 PM

I have someones login, and I am working on it now. :)

ozzy47 12-02-2013 11:30 PM

<u>v1.0.1</u> Available!

This should fix everyone's issues. I would say the best way to ensure you get updated properly, is to uninstall the 1.0.0 version and install the 1.0.1 version.

There was some phrases that were missing in the xml, I had created them, but did not assign them to the product. So even when I uninstalled the mod, and reinstalled it, it worked for me. This is because the phrases were assigned to vBulletin, so on my site, they were always there. I also fixed another issue with the images not displaying right if you choose, Above Every Post Container = Above every post on the page.

Sorry for the trouble.

faisaly.com 12-02-2013 11:58 PM

working in postbit control fantastic, another one licked!

ozzy47 12-03-2013 12:01 AM

Cool, thanks for sticking it out. :)

faisaly.com 12-03-2013 12:08 AM

I keep my private parts to myself LOL but it looks good in my postbit controls

ozzy47 12-03-2013 12:14 AM

LMAO. :p

Alan_SP 12-03-2013 12:47 AM

Is "is_friends" image a link to friend settings page, so we can easily see all our friends and maybe remove someone from friends?

ozzy47 12-03-2013 12:51 AM

It links you to your buddy list.

DemOnstar 12-03-2013 04:27 AM

Yep that worked..

I work on localhost normally but will look into setting up an admin account on my live site for matters such as this..

Good job as ever...

ozzy47 12-03-2013 04:29 AM

Thanks, glad it's sorted. :)

abvolt 12-03-2013 04:48 AM

Really nice thanks dude.

Marcin1 12-03-2013 06:01 AM

I have still the same issue. No image is_friend.png

XGC Paravain 12-03-2013 06:27 AM

Well im glad I got side tracked lol I will download the update now :)

XGC Paravain 12-03-2013 06:40 AM

Awesome just installed and works sweet :) I also like the location aside avatar

Now I was thinking as I did a test and sent a friends request that there is only 2 images

which made me think, there should be 3 :) one for pending friends request :)

XGC Paravain 12-03-2013 06:40 AM

Oh I forgot to add awsome work Ozzy :)

ozzy47 12-03-2013 10:34 AM

Quote:

Originally Posted by Marcin1 (Post 2465390)
I have still the same issue. No image is_friend.png

Then you will need to send me a admin account that has a friend, and a link to a post where that friend has posted in. :)

ozzy47 12-03-2013 10:36 AM

Quote:

Originally Posted by XGC Paravain (Post 2465397)
Well im glad I got side tracked lol I will download the update now :)

Seems it worked out for the best.

Quote:

Originally Posted by XGC Paravain (Post 2465400)
Awesome just installed and works sweet :) I also like the location aside avatar

Now I was thinking as I did a test and sent a friends request that there is only 2 images

which made me think, there should be 3 :) one for pending friends request :)

I can see if the info is available to do such a thing

Quote:

Originally Posted by XGC Paravain (Post 2465401)
Oh I forgot to add awsome work Ozzy :)

Thanks, glad ya like it, and thanks for marking as installed. :)

ozzy47 12-03-2013 10:36 AM

Quote:

Originally Posted by abvolt (Post 2465381)
Really nice thanks dude.

Thanks, glad ya like it, and thanks for marking as installed. :)

XGC Paravain 12-03-2013 04:58 PM

Quote:

Originally Posted by ozzy47 (Post 2465421)
Seems it worked out for the best.



I can see if the info is available to do such a thing



Thanks, glad ya like it, and thanks for marking as installed. :)

Always, Need to mark install its the only way to get the proper support But I also hit that like button :D

nxtgen 12-03-2013 05:52 PM

This mod hates me. I removed the old, uploaded the new, set usergroups, select Postbit Controls Area, don't need to touch images... clicked save and it doesn't show for me on Postbit. Weird.


All times are GMT. The time now is 02:40 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.01409 seconds
  • Memory Usage 1,820KB
  • 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
  • (8)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
  • (40)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