vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Send Update Pm/Mail (https://vborg.vbsupport.ru/showthread.php?t=112277)

Developer 04-05-2006 10:00 PM

Send Update Pm/Mail
 
Send Update Pm/Mail.
Version 1.1.3
Description::.
hack's idea goes to beebi
this hack give thread starter option to mail/pm users who have posted in his thread like in vb.org when i mail users who clicked install for update
Hack Features::.
[-]1-easy yo install
[-]2-on/off
[-]3-minimum posts before could use the hack
[-]4-send pms
[-]5-send mails
[--]6-Forum Perrmisions{allow sending updates or not}
[--]7-allow to who can moderate this forum to send update
[--]7-Send mails uses vB queue system{Thnx Paul M}
[---]
8-Add feature to log updates by creating a new thread in specified forum{Livewire idea in vBHackers.com}
[-]Version 1.0.0 - [--]Version 1.1.0 - [---]Version 1.1.3

Planned Features::.

1-usergroup Perrmisions
2-[sugs.]

Installation::.
1-Import The product.
2-Edit Template Showthread find:
Code:

<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
                </if>

add below it:
Code:

<if condition="$show['send_update']"><a href="misc.php?$session[sessionurl]do=update&t=$threadinfo[threadid]">$vbphrase[sendup_send_update]</a></if>
3-Click install:D
History::.
1.0.0 On 6. Apr 2006 Initial Version.
1.1.0 On 22. Apr 2006 {See Features}.
1.1.3 On 3. May 2006 fix some code when user run this script misc.php?do=update Notice there is no thread id in the link, {See Features}.
Hack Languages::.
  • English
  • German By: killmymatrix
Details::.
2 plugins, 21 phrases, 1 template, 4 options, 1 queries[adding field in forum for forum permission]
Donation::.
Feel Free To https://vborg.vbsupport.ru/external/2010/09/1.gif
aT lAsT::.
IF YOu lIkE iT cLIcK INSTALL
vbulletin.orghttps://vborg.vbsupport.ru/

Support Given For Who Clicked Install {ONLY}

Developer 04-06-2006 01:50 AM

ScreenShots

bada_bing 04-06-2006 02:10 AM

I confussed about what this hack does. Can you explain a bit in depth?

Developer 04-06-2006 09:19 AM

this hack give thread starter option to mail/pm users who have posted in his thread like in vb.org when i mail users who clicked install for update

klaush 04-06-2006 09:29 AM

Thanks; you make good hacks. Please be so kind to involve the installation instruction with the product in a zip file, so everyone is able to read it when installing later or has to install once more after an upgrade without sreaching or looking for the whole original thread on vb.org.

Thanks a lot!

Neutral Singh 04-06-2006 09:59 AM

Wow nice Idea!! Can Admin also send a mail or pm for any particular thread. That would give admin an added option of inviting members to the forum.

Developer 04-06-2006 10:40 AM

Quote:

Originally Posted by Neutral Singh
Wow nice Idea!! Can Admin also send a mail or pm for any particular thread. That would give admin an added option of inviting members to the forum.

invite members !!!!!:surprised:
this hack sends emails to members who posted in the thread

COBRAws 04-06-2006 10:54 AM

Im planning on using this as and event attendance hack. can it be restricted to some forums? or just put in those who I only want this plugin to work?

Thanks!

Developer 04-06-2006 10:56 AM

read Planned Features
1-Forum Perrmisions
:) :) :)

Hornstar 04-06-2006 11:12 AM

Lets say I only want certain usergroups using this, is that already in it? Or maybe you can add that option to the planned list. Because I only want staff to be able to use this on my site, and maybe 1 other usergroup.

Thanks

COBRAws 04-06-2006 11:14 AM

Quote:

Originally Posted by Developer
read Planned Features
1-Forum Perrmisions
:) :) :)

sorry, sometimes I dont get things at the first time :P not english speaker here

Developer 04-06-2006 11:16 AM

Quote:

Originally Posted by hornstar1337
Lets say I only want certain usergroups using this, is that already in it? Or maybe you can add that option to the planned list. Because I only want staff to be able to use this on my site, and maybe 1 other usergroup.

Thanks

added to planned features

Developer 04-06-2006 11:18 AM

what do u think about adding feature to limit sending updates for each thread & for each user per X hours?

COBRAws 04-06-2006 11:39 AM

Quote:

Originally Posted by Developer
what do u think about adding feature to limit sending updates for each thread & for each user per X hours?

even having a log system wont prevent some users to spam our members. This would be awesome in my opinion.

Having a field in admincp for max updates every day or week maybe.

MissKalunji 04-06-2006 12:03 PM

is there a way to only make this accessible to "administrators" only?

Paul M 04-06-2006 12:14 PM

Does this send all the emails instantly ?

Developer 04-06-2006 02:22 PM

Quote:

Originally Posted by MissKalunji
is there a way to only make this accessible to "administrators" only?

it is in planned features
Quote:

Originally Posted by Paul M
Does this send all the emails instantly ?

yes :(, i'll work on improve this point

Cybertims 04-06-2006 02:36 PM

Doesnt work for me.....I get a server 500 error after it times out, it just sits there for maybe 5 mins or so...then gives me the error.

Cheers.

XanTrax 04-06-2006 06:47 PM

Nice work ;).

I dont really like the whole "support only give to who click install", its kind of a cheap way to try to get on HOTM ;[ . At any rate, good job :D.

MissKalunji 04-06-2006 06:59 PM

sweet thanks developper

Snake 04-07-2006 07:50 PM

Wow I've been waiting for something like this. :)

peterska2 04-07-2006 08:04 PM

This is gonna be really helpful for me.

Thanks.

(I'll click install when I have actually installed it, I'm just downloading it now for later when I give my site a massive overhaul)

Developer 04-07-2006 08:14 PM

Quote:

Originally Posted by peterska2
I'll click install when I have actually installed it, I'm just downloading it now for later when I give my site a massive overhaul

Take Ur time :)

Paul M 04-08-2006 01:14 AM

Quote:

Originally Posted by Developer
yes :(, i'll work on improve this point

Okay, that could seriously hamper a lot of servers if the total starts to rise above about 50/100 at a time (depending on how powerful the server is).

If you change the 'true' to 'false' in this line, then they will go to the queue system.
Code:

vbmail($user['email'], $subject, $message, true);
That's still a problem for most people, but it is at least then solvable with something like my cron based mail queue processing.

OmeR4eVeR 04-08-2006 02:25 PM

Good Jop

Installed

COBRAws 04-20-2006 01:48 AM

Quote:

Originally Posted by MissKalunji
is there a way to only make this accessible to "administrators" only?

This would be GREAT!

csidlernet 04-21-2006 09:58 AM

thanks man. nice work

Developer 04-22-2006 04:56 AM

Version 1.1.0 Released with this new features:
1-Forum Perrmisions{allow sending updates or not}
2-Send mails uses vB queue system
3-allow to who can moderate this forum to send update

COBRAws 04-22-2006 05:19 AM

Quote:

Originally Posted by Developer
Version 1.1.0 Released with this new features:
1-Forum Perrmisions{allow sending updates or not}
2-Send mails uses vB queue system
3-allow to who can moderate this forum to send update

W0h0000000! Thanks Devo!

peterska2 04-22-2006 12:24 PM

Installed.

I've had to tweak a couple of things though, namely

Code:

<if condition="$show['send_update']"><a href="misc.php?$session[sessionurl]do=update&t=$threadinfo[threadid]">$vbphrase[sendup_send_update]</a></if>
didn't work for me, and I had to replace it with
Code:

<if condition="$show['send_update']"><a href="misc.php?$session[sessionurl]do=update&t=$thread[threadid]">$vbphrase[sendup_send_update]</a></if>
Other than that, I had a complete nightmare getting it to update from 1.0.0 to 1.1.0 as I installed then discovered the update (typical really). It wouldn't overwrite properly, then wouldn't uninstall, so I had to do a big chunk of it manually via phpmyadmin, which wasn't fun at all :(

On the plus side, I can see this being really useful.

Thanks

klaush 04-22-2006 01:06 PM

Quote:

Originally Posted by Developer
Version 1.1.0 Released with this new features:
1-Forum Perrmisions{allow sending updates or not}

A blind man in the dark...; where to set?

Developer 04-22-2006 01:08 PM

Forums & Moderators ;)

klaush 04-22-2006 01:11 PM

Quote:

Originally Posted by Developer
Version 1.1.0 Released with this new features:
1-Forum Perrmisions{allow sending updates or not}
2-Send mails uses vB queue system
3-allow to who can moderate this forum to send update


And ups....:

Invalid SQL:
UPDATE vb3_forum SET

MySQL-Fehler : Unknown column 'allowupdate' in 'field list'
Fehler-Nr. : 1054
Datum : Saturday, April 22nd 2006 @ 04:10:14 PM
Skript : http://www.nikon-fotografie.de/vbull...incp/forum.php
Referrer : http://www.nikon-fotografie.de/vbull...ncp/forum.php?

Developer 04-22-2006 01:16 PM

try to open product with any text editor then at line 8
try to change
<code version="1.00">
to
<code version="1.1.0">
if the works correctly tell me
Edit:And ofcourse Import the product again

klaush 04-22-2006 01:32 PM

Quote:

Originally Posted by Developer
try to open product with any text editor then at line 8
try to change
<code version="1.00">
to
<code version="1.1.0">
if the works correctly tell me
Edit:And ofcourse Import the product again

Nope; when changing the code version the settings for the permission is no longer shown in the forum menue.

So you have to leave ist as it is or change another code in the script.

klaush 04-22-2006 01:38 PM

It even does not alter the table forum with "allowupdate".

So if one of you have the same error use this with phpmyadmin:

ALTER TABLE vb3_forum ADD allowupdate SMALLINT(5) UNSIGNED DEFAULT '1' NOT NULL;

klaush 04-22-2006 01:44 PM

It´s working when the field "allowupdate" is present in the table "forum".

Thanks for the hint! :-)

killmymatrix 04-22-2006 02:36 PM

Ehr... one question, maybe I just don't get it:
If "Enable Pming?" is set to 'yes' and "Enable mailing?" is set to 'yes', too, the thread starter sends a message to the users as a PM and a mail?

I just don't get the following sentence:
use this to enable send pms
uses this or mail

;)

Edit:
Could it be, that just one option should be activated or otherwise the update would be sended as PM and Mail?

bashy 04-22-2006 03:23 PM

hi Dev

I have installed tried your code and peterska2 code as well but i just do not see the update button... What have i overlooked, oh and yeah it is enabled :)

Developer 04-22-2006 03:24 PM

yeah it sends a pm and mail
i was just want to put a note to not to disable pms and mails cuz at least one enabled for make the hack works (if pm and mail disapled the hack will do nothing)


All times are GMT. The time now is 05:23 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.03791 seconds
  • Memory Usage 1,827KB
  • 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
  • (5)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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