vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - PM notification when receiving reputation points (https://vborg.vbsupport.ru/showthread.php?t=162083)

skhms 11-11-2007 09:27 PM

Quote:

Originally Posted by viper357 (Post 1379823)
Any chance you could help me in getting this to work on 3.6.5? Please :)


It should work by editing the template Modify User Option Templates >> modifyoptions

Find:
Code:

$customfields[messaging]
Above it add:
Code:

$template_hook[usercp_options_messaging]

You must also edit the dependency tag in the product-file "product-sk_repnotif.xml".
Change
Code:

minversion="3.6.8"
to
Code:

minversion="3.6.5"
or whatever version you want to try. It should work on all 3.6 and probably even 3.5

/SK

donna8284 11-13-2007 09:00 PM

Thanks - worked on 3.6.4!

GhoHan 11-28-2007 01:37 AM

great mod. installed :)

DoB Rhapsody 11-28-2007 04:46 AM

This doesn't seem to work for me. I'm running 3.6.7 PL1 and seems that it didn't add any SQL tables and there is no indication of any new options. No errors during install.

skhms 11-28-2007 05:08 AM

Quote:

Originally Posted by DoB Rhapsody (Post 1390834)
This doesn't seem to work for me. I'm running 3.6.7 PL1 and seems that it didn't add any SQL tables and there is no indication of any new options. No errors during install.

There is no new tables, the only change is an addition to the user table.

If no new option has been added to the User CP => Edit Option page I would guess that the $template_hook[usercp_options_messaging] hasn't been added correctly.
You must do that manually on v3.6.7. See previous post.

/SK

viper357 12-12-2007 01:12 PM

Quote:

Originally Posted by skhms (Post 1377982)
If you are willing to do SQL queries you can enter this at the Maintenance > Execute SQL Query Page:
Code:

ALTER TABLE user ALTER sk_repnotif_options SET DEFAULT '1'
This will make the option active as default for new users.

To activate it for all current user, use this:
Code:

UPDATE user SET sk_repnotif_options = '1'
Don't forget to add in your table prefix as well.

As always, be careful and take backups before you mess with the database.

/SK

This is the first time I will be executing a SQL query, can you tell me where exactly I must add my table prefix in the above code? Thanks.

skhms 12-12-2007 03:27 PM

Quote:

Originally Posted by viper357 (Post 1399829)
This is the first time I will be executing a SQL query, can you tell me where exactly I must add my table prefix in the above code? Thanks.

Add it before the table name - user

ALTER TABLE table_prefixuser ALTER sk_repnotif_options SET DEFAULT '1'

UPDATE table_prefixuser SET sk_repnotif_options = '1'

/SK

viper357 12-12-2007 06:41 PM

Thanks for the help :)

JustAskJulie 03-30-2008 10:46 PM

Quote:

Originally Posted by skhms (Post 1399901)
Add it before the table name - user

ALTER TABLE table_prefixuser ALTER sk_repnotif_options SET DEFAULT '1'

UPDATE table_prefixuser SET sk_repnotif_options = '1'

/SK

How do I know what my table prefix is?

skhms 03-31-2008 04:47 AM

Quote:

Originally Posted by JustAskJulie (Post 1478648)
How do I know what my table prefix is?

Its in your config.php file (includes/config.php).
If you left it empty then you obviously don't need to add anything.

/SK


All times are GMT. The time now is 02:20 PM.

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.01141 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)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
  • (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