vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] vBNotifications v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=266914)

DragonByte Tech 04-05-2013 02:24 PM

Try
Code:

delete from dbtech_notifications_notifications where status = -1
Remember to add your table prefix if you use any.


Fillip

ikymbo 05-22-2013 09:05 AM

how can fix this? :confused:

https://vborg.vbsupport.ru/external/2013/05/7.jpg

i want have my notification same to :

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

DragonByte Tech 05-25-2013 02:54 PM

Check the dbtech_notifications.css template, there should be background definitions there.

Fillip

NoMatt3r 06-06-2013 03:24 PM

Installed on 4.2.1 but there's nox box appearing. In the top it changes to Inbox but nothing more although i have new notifications and the types are enabled.

DragonByte Tech 06-06-2013 05:43 PM

Can you show me a screenshot of the vBulletin Options for this mod, and the Manage Notification Types screen?

Fillip

NoMatt3r 06-07-2013 08:37 AM

1 Attachment(s)
Here you go

EDIT: oh my god. I have to mark the usergroups to grant permissions :x i've read the doumentation but wasn't aware of this. sorry. everything works now as expected!

findingpeace 07-12-2013 08:04 PM

This mod is amazing! Is there any way to make the entire notification box clickable, instead of just the text within the box? The mouse turns to the hand pointer, making the whole box look like a link, but it only actually clicks if the cursor is directly over the text.

Makes it a little difficult for our older users to click that specifically

Thanks :)

DragonByte Tech 07-17-2013 03:01 PM

That would need to be added as a part of an update, we do intend to rewrite this mod at some point in the future :)


Fillip

lafsunlmtd 07-26-2013 02:33 PM

Is there a way to make it have the notification drop down like it had before? I don't like the boxes, would rather it be the drop down.

How would I modify the CSS to make this stand out better on my site?

In the documentation it mentions this but I don't have that option in the admincp.

lafsunlmtd 07-26-2013 05:47 PM

Disregard, I see it's pro version only and figured that out.

Once paid version is in place, how do we make the sum of notifications show without hovering so people know when there's a notification pending?

DragonByte Tech 07-31-2013 11:22 PM

The legacy notification display would display the same information the vBulletin notification drop-down displays. Any other display is not a feature of this mod, sorry :(


Fillip

NoMatt3r 08-12-2013 04:49 PM

Found a small bug. When i visit forum/profile.php?do=buddylist it says "undefined" instead of "Inbox" on the top.

parm775 08-18-2013 08:24 AM

Does this also have an option to alert members when their post is quoted by another member? (Like in xenfor?) Also I an using a theme called debutante, is this mod compatible with such a theme?

DragonByte Tech 08-24-2013 05:54 PM

No, but that is a feature of our Advanced User Tagging mod :)


Fillip

findingpeace 10-05-2013 11:11 AM

Hi! We just switched our site over to HTTPS. Everything is working great, except that referring URL's from the notifications are all hard-coded HTTP. I can see this in the table: dbtech_notifications_notifications.

They're all like "http://mysite.com/recent_thanks.php" or "http://mysite.com/subscriptions.php", etc.

I can run a find & replace on this table to switch http->https, but more importantly, where in the code should I edit so that it starts doing https automatically?

Thanks!

DragonByte Tech 10-06-2013 03:25 PM

It should do that for new notifications as it draws from the URL set in your vBulletin Options (Forum URL).

You should also apply a .htaccess redirect to automatically direct HTTP URLs to HTTPS, like so:
Code:

RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !(mobiquo|forumrunner|401\.shtml)
RewriteRule (.*) https://www.domain.com/$1 [R=301,L,QSA]

Or something similar. Do note that we cannot provide support for these .htaccess rules or offer equivalent rules for NGINX or any other non-Apache compliant web servers.


Fillip

findingpeace 10-11-2013 02:51 PM

Thank you!

I know 4.2.2 is not yet supported by DBTech, but I just wanted to provide you with some results from my test environment, in case it helps debug. I love this mod, and hope it will be working with 4.2.2!

On the top of every page, we see:

Code:

Warning: Non-static method NOTIFCACHE::init() should not be called statically in ..../dbtech/notifications/core/class_notifications.php on line 39
Logging into ACP fails completely, with a white page:

Code:

Warning: Non-static method NOTIFCACHE::init() should not be called statically in ..../dbtech/notifications/core/class_notifications.php on line 39
Unable to add cookies, header already sent.
File: /home/mysite/public_html/qa/includes/class_core.php
Line: 5745

Thanks for all you do! Hope this helps :)

ozzy47 10-11-2013 02:58 PM

Go to their site and get the files from there, they have been patched.

findingpeace 10-11-2013 02:58 PM

One last update, enabled ALL plugins except:

Fetch vBulletin Notifications

Init Classes

And the errors disappear. Still no notifications, but those two plugins seem to be where the errors are coming from.

findingpeace 10-11-2013 02:58 PM

Oh, thanks ozzy!! Wow, dbtech rocks :)

DragonByte Tech 10-11-2013 09:55 PM

Update

Hotfix: PHP 5.4 Compatibility fixes


This does not guarantee the mod is error free on PHP 5.4, but it will take care of the reported errors. Thank you all for your reports :)



Fillip

findingpeace 10-12-2013 01:31 AM

Hey again, so I am still unable to figure out the HTTP/HTTPS link thing. Looking back, I am pretty sure I hard coded the URL for "Recent Likes" in one of your files (to link directly to the page, instead of a vbnotifs link, because I was having trouble with vbnotifs) - I know you don't support hard edits, but if you are able to think of which file that might be (the one that generates those links) off the top of your head, it would really help! I have tried looking at edit dates and everything, can't seem to find it :(

DragonByte Tech 10-13-2013 07:32 PM

The file that generates the notification you speak of would probably be /dbtech/thanks/hooks/notifications_list.php

As for what file you edited, it could have been /dbtech/notifications/core/class_notifications.php

Let me know if either of these files produce anything useful :)


Fillip

findingpeace 10-13-2013 10:17 PM

You are such a nice guy - thank you, that was the one!! Problem solved :)

fly 10-23-2013 02:35 PM

How can I reduce the server load requirements for this mod? If I check my access logs, every other line is
Code:

POST /vbnotifs.php HTTP/1.1 "200"
I tried changing the refresh rate to 300 seconds, but that didn't seem to help. My forum isn't THAT active...

DragonByte Tech 10-23-2013 03:25 PM

It executes one such request per page load, and then another per X where X is the number of seconds configured in the AdminCP.

Fillip

fly 10-23-2013 04:44 PM

Well that explains it being every other line... Can I at least disable the refresh rate by setting it to zero or something?

DragonByte Tech 11-01-2013 12:46 PM

Yes, but that completely removes the point of this mod :p


Fillip

fly 11-01-2013 01:28 PM

Quote:

Originally Posted by DragonByte Tech (Post 2457662)
Yes, but that completely removes the point of this mod :p


Fillip

Not really, they still get notified every page refresh (just like standard vB), right?

tpearl5 11-01-2013 07:26 PM

has anyone gotten this working for vbgallery or vba dynamics?

DragonByte Tech 11-05-2013 11:17 AM

Quote:

Originally Posted by fly (Post 2457672)
Not really, they still get notified every page refresh (just like standard vB), right?

Yeah, but the main point of this mod is that people who leave their browsers open (say, for instance chatting in the Shoutbox) would see the notifications pop up in (almost) real-time in the bottom of the screen :)

Quote:

Originally Posted by tpearl5 (Post 2457727)
has anyone gotten this working for vbgallery or vba dynamics?

It's not been tested with any of those products at this time, sorry :(


Fillip

Harpo 11-15-2013 12:57 AM

Not working for me. 4.2.2 :erm:

ozzy47 11-15-2013 12:58 AM

Define not working, that is a very general phrase.

Harpo 11-15-2013 03:02 AM

When the notifications show up the background is missing. Or its transparent.. maybe I missed something, I'll try again.

tbworld 11-15-2013 04:04 AM

Quote:

Originally Posted by Harpo (Post 2460851)
When the notifications show up the background is missing. Or its transparent.. maybe I missed something, I'll try again.

Test a new modification on the default vBulletin style. It is unfair to say that a 'mod' does not work when there is just a inconsistency with your selected style.

All you need is a simple CSS color alteration. If you post a link with an active notification, we should be able to assist you.

Harpo 11-15-2013 09:20 AM

1 Attachment(s)
I uploaded a screenshot. If you look closely you can see white text in the notification box. I'm using the default theme too.

tbworld 11-15-2013 09:34 AM

Quote:

Originally Posted by Harpo (Post 2460886)
I uploaded a screenshot. If you look closely you can see white text in the notification box. I'm using the default theme too.

Without a page url (with a notification active), I will not be able to determine the CSS via my browser. I would either have to load the "mod" or spend my time reading through the code. It is why we ask for a link.

This feature is also part of the PRO version according the the documentation.

ozzy47 11-15-2013 09:47 AM

You can edit the dbtech_notifications.css template, by adding the part in red, and change black to what ever you wish.

Code:

.notification_box {
    position: fixed;
    top: 85%;
    left: 1%;
    display: none;
    padding: 5px;
    height: auto;
    width: 20%;
    color: white;
  background: black;
    border-radius: 5px;
    -moz-box-shadow: 2px 2px 1px #000000;
    -webkit-box-shadow: 2px 2px 1px #000000;
    box-shadow: 2px 2px 1px #000000;


Harpo 11-15-2013 10:00 AM

Thanks Ozzy your a mind reader. working good.

ozzy47 11-15-2013 10:06 AM

Excellent, glad to hear. :)


All times are GMT. The time now is 03:33 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.01551 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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