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)
-   -   Statistics Modifications - vB Weekly Stats (https://vborg.vbsupport.ru/showthread.php?t=132061)

Bolas 12-26-2006 02:34 PM

Me too.
I'm receiving mail throught GMAIL. -.-'



I see U are using
Code:

mail($email_to, $vbulletin->options['weasub'], $message, $headers);
to send mail. I think that are available some vb method to do that.



--------------------------------------
some minutes later...

Yes, it's available a function that uses rights methods.

Code:

function vbmail($toemail, $subject, $message, $notsubscription = false, $from = '', $uheaders = '', $username = '')
But I dunno if it correctly manages HTML format. I'm testing it.

Bolas 12-26-2006 03:50 PM

Ok, pay attention here.

I patched it using:

- vb method to send mail
- hooks change on-the-fly the Content-Type

Attached U will find:

new /includes/cron/weeklystats.php
new product-weeklystats.xml

@Jd19: U are free to use this patch on your next version

Total666 12-26-2006 09:08 PM

Quote:

Originally Posted by Bolas (Post 1145349)
Ok, pay attention here.

I patched it using:

- vb method to send mail
- hooks change on-the-fly the Content-Type

Attached U will find:

new /includes/cron/weeklystats.php
new product-weeklystats.xml


@Jd19: U are free to use this patch on your next version


I tried this and I get a blank screen on the weeklystats.php .. Total

Bolas 12-26-2006 09:29 PM

--> Put it in the CRON directory, not in the root of your forum.

I just patched the cron and the product itself (adding a simple plugin in it) to use the text/html as Content-Type.

If U got blank screen it's because you overwritten the front-end file in your root.

So:
1) re-install my product patched
2) upload again original files released by Jd19
3) overwrite my weeklystats.php in ROOT/includes/cron/

dina 12-28-2006 07:56 PM

I just noticed that it pulls out information from hidden forums as well (even if the user group cannot view the forum).
Can you add something to exclude forums as well as user groups?

For example, if you have a hidden moderation forum and there are more replied to a thread in that forum than any other forum on the board, the title of that topic will appear in the statistic. Which can be a bit embarrassing if you're discussing something that's not meant to be of public knowledge.

TheWhite 01-02-2007 02:56 AM

great

storpappa 01-11-2007 03:19 PM

Bolas thanks for the changes - great mod made better

Cybershaolin 01-11-2007 04:39 PM

Quote:

Originally Posted by Bolas (Post 1145495)
--> Put it in the CRON directory, not in the root of your forum.

I just patched the cron and the product itself (adding a simple plugin in it) to use the text/html as Content-Type.

If U got blank screen it's because you overwritten the front-end file in your root.

So:
1) re-install my product patched
2) upload again original files released by Jd19
3) overwrite my weeklystats.php in ROOT/includes/cron/


Hmmm I'd like to give it a try but I'm confused. You're saying to put the files in the CRON directory but you also say to re-upload the original files from Jd19!! This is where I'm lost.

I have the version made by Jd19 and as I said, I have a problem with the emails sent.

One of his files (weeklystats.php) is in the root so if I re-upload his files according to him, it should go in the root. But on your side your file goes in the CRON... Do we keep both files?

Anyhow, what are the correct steps for those who had the original hack? Should I remove the hack first and just use your files after? I am completely lost with the steps given. :confused:

Distance 01-15-2007 08:00 PM

Thanks!

Kanustep 01-16-2007 12:31 PM

The update cause my subscription e-mail confused, they are now like this:

Quote:

Caro member, the user respondeu ao T?pico subscrito por si com o t?tulo - Thread title - no f?rum de ForumDOMAIN. Este t?pico est? localizado em: http://www.domainurl.com Esta ? a mensagem: *************** Message*************** Este t?pico poder? ter mais respostas, mas para as receber necessita de visitar o f?rum. Atentamente, ******~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Para remover a subscri??o deste t?pico visite a p?gina: http://www.domainurl.com Para remover a subscri??o de todos os t?picos, visite: http://www.domainurl.com
This is confused to read, but is how it appears on my e-mails, after I disable WeeklyStats the e-mail are full formated with paragraphs and etc.


All times are GMT. The time now is 10:49 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.01087 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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