vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   CommBull (Community Bulletin) (https://vborg.vbsupport.ru/showthread.php?t=66334)

sfowler39 12-09-2004 07:19 PM

You have it set to default apparently when a person installs this - that everyone is to get the newsletter - and if they dont want the newsletter then they have to opt out of it. Is there a way to do this in the opposite way - as to if they want the newsletter they can opt in - i looked at the table and I have appr 500 people and everyone is set to 1 - apparently meaning they get the letter sent via email to them - I have had people say it should be something that they would want to opt into as opting out of.

So my question to you is - is there a quick way to make everyone (500 people ) in my table a 0 instead of a 1 in the receivebulletin field. If there is a quick way to do this - is that the only field that needs to be changed? I would hate to have to go in and change it manually to every record - to a 0 - would take hours.

memobug 12-09-2004 09:53 PM

Hi sfolwer39,

Yes you can do it through phpMyadmin quite easily. I don't know your table prefixes and don't want to give you a bad query but it would take just a second or two to make a change like that across 500 users.

I don't know what type of forum you're running, but unless it is a real privacy concern, I would go ahead and send your first newsletter and test the water. Newsletters aren't sent to anyone who has Receive Admin Email disabled and your newsletter is an admin mailing, so it should be legit.

Be sure to include at the top of your newsletter an instruction similar to the following

Quote:

This bulletin is emailed (monthly/weekly/whatever) to members of the whatever community. If you are receiving more than one copy it is possible that you have multiple registrations. Instructions at the bottom of this message detail how you can adjust your newsletter settings. If you are unable to do this, please forward a copy of the newsletter to newsletter@whatever.com and let us know if you want to unsubscribe or remove your registration entirely. We have a zero tolerance policy toward spam.
Regards,

Matt

sfowler39 12-10-2004 06:00 PM

Quote:

Originally Posted by memobug
Hi sfolwer39,

Yes you can do it through phpMyadmin quite easily. I don't know your table prefixes and don't want to give you a bad query but it would take just a second or two to make a change like that across 500 users.

I don't know what type of forum you're running, but unless it is a real privacy concern, I would go ahead and send your first newsletter and test the water. Newsletters aren't sent to anyone who has Receive Admin Email disabled and your newsletter is an admin mailing, so it should be legit.

Be sure to include at the top of your newsletter an instruction similar to the following



Regards,

Matt

Thanks memobug for your input. I did manage to get all users to be a 0 using phpmyadmin. I have also posted on the homepage that if they want a newsletter emailled to put a checkmark in the box of there cp and then they will get it. I had a lot of users complaining that they didnt want it.

We are on a intranet, and no one really actually went thru the process of signing up to the bb. I imported all the users to a text file from the primary domain controller user manager and then hacked it up for the import along with email addresses and stuff.

So that why all the employees here were confused as to why they are getting this newsletter along with there daily email. Now they can opt in as to opt out.

Thanks again

joeychgo 12-12-2004 04:19 AM

Is this going to be updated?

A few things I would like to see:

1. Send Test Newsletter (or display test newsletter)
2. Ability to send automatically (like every monday or first of the month)

interfx 12-18-2004 11:51 AM

This works great! Installed it, and it worked just perfectly...

One question, how do I modify the html template so that it shows the header logo *.gif file... I can manually edit it in the html preview page - but would like to have this automatically inserted?

Any ideas out there?

interFX

Pseudomizer 12-18-2004 12:38 PM

Quote:

Originally Posted by interfx
This works great! Installed it, and it worked just perfectly...

One question, how do I modify the html template so that it shows the header logo *.gif file... I can manually edit it in the html preview page - but would like to have this automatically inserted?

Any ideas out there?

interFX

This is easy. You have the ability to enter additional HTML code at the bottom of your config page. Just enter your logo in there and it will show up at the top. And you do not have to enter this code every time because you save the settings.

Cheers,

interfx 12-18-2004 12:56 PM

Thanks... Now I know what "extra text" means...

Missed that...

interfx 12-18-2004 06:56 PM

One more question, and I try to customize some of the output for this great module...

How would I change the background color for the HTML email beign sent? I found the <body> tage in the commbull.php - add the bgcolor=#FF88FF" - but no background color showing?

Any ideas?

interFX

Pseudomizer 12-18-2004 07:19 PM

Quote:

Originally Posted by interfx
One more question, and I try to customize some of the output for this great module...

How would I change the background color for the HTML email beign sent? I found the <body> tage in the commbull.php - add the bgcolor=#FF88FF" - but no background color showing?

Any ideas?

interFX

Grandeur implemented the CSS style. The newsletter should take your CSS style of your vbulletin.

Cheers,

KW802 12-19-2004 05:02 PM

Quote:

Originally Posted by Pseudomizer
Grandeur implemented the CSS style. The newsletter should take your CSS style of your vbulletin.

Cheers,

HHhhhmm..... I'm having the same problem. Does it have an impact if we're saving our CSS as files instead of in the DB?

Pseudomizer 12-19-2004 05:04 PM

Quote:

Originally Posted by KW802
HHhhhmm..... I'm having the same problem. Does it have an impact if we're saving our CSS as files instead of in the DB?

Sorry, please ask the author of this hack. I do not know this.

Cheers,

KW802 12-19-2004 06:26 PM

Quote:

Originally Posted by Pseudomizer
Sorry, please ask the author of this hack. I do not know this.

Cheers,

No problem. :)

For now I've solved my problem. First I did the changes here....

https://vborg.vbsupport.ru/showpost....&postcount=147

So that the full paths are picked up. Then I changed "commbull.php" by replacing:
PHP Code:

$sql "SELECT * FROM "TABLE_PREFIX."style WHERE userselect > 0 LIMIT 1"

... with
PHP Code:

$sql "SELECT * FROM "TABLE_PREFIX."style WHERE userselect > 0 ORDER BY 'displayorder' LIMIT 1"

so that the style selected is the one with the lowest display order.

This solves my problem becase my default is set to be lowest so that it shows up first in the drop-down box. :)

Thanks,
Kevin

sabret00the 12-20-2004 09:21 PM

heh i changed that query so that it displays a random skin :D

i also added a header into it and also redesigned the commbull so it displays the new threads vB style

if anyones interested let me know, i'll chop out the header and post up the new commbull.php

traderx 12-20-2004 09:35 PM

Quote:

Originally Posted by sabret00the
heh i changed that query so that it displays a random skin :D

i also added a header into it and also redesigned the commbull so it displays the new threads vB style

if anyones interested let me know, i'll chop out the header and post up the new commbull.php

Pls do post

interfx 12-20-2004 09:36 PM

Has anyone implemented this with VB Advanced and some of the new modules they have developed (ie. VBa Links, ...) Same question on ReviewPost - I incorporated using xpostincluder...

I would ideally like to have the newest links also included in the newsletter type email sent.

Anyone implement something like this?

interFX

sabret00the 12-20-2004 10:13 PM

Quote:

Originally Posted by interfx
Has anyone implemented this with VB Advanced and some of the new modules they have developed (ie. VBa Links, ...) Same question on ReviewPost - I incorporated using xpostincluder...

I would ideally like to have the newest links also included in the newsletter type email sent.

Anyone implement something like this?

interFX

i was gonna add a photopost module but in the end coudln't be bothered for today lol

sabret00the 12-20-2004 10:23 PM

Quote:

Originally Posted by traderx
Pls do post

rightio here you go :)

diettalk 12-20-2004 11:43 PM

Thanks.. it looks great.

Quote:

Originally Posted by sabret00the
rightio here you go :)


sabret00the 12-21-2004 10:03 AM

Quote:

Originally Posted by diettalk
Thanks.. it looks great.

not a problem, i just needed a cleaner look myself so thought it's good to share, it's a less cluttered loook and makes it easier for me to add add-on's like photopost and stuff like that

interfx 12-21-2004 09:27 PM

I also just tried your version... Like it alot...

Let us know when you add in other add-ons like photopost, etc...

InterFX

traderx 12-21-2004 09:38 PM

Thanks for the upload sabret00the.....

Will there ever be an update so that it will be able to be put on a schedule?

For some reason I am not getting any formatting like my forum, it's all white (see gif). I did change it to be able to use my css as a file thinking that was it, but it wasn't... see sig for site layout

Thanks

sabret00the 12-21-2004 09:40 PM

Quote:

Originally Posted by interfx
I also just tried your version... Like it alot...

Let us know when you add in other add-ons like photopost, etc...

InterFX

will do :)

sabret00the 12-21-2004 09:43 PM

Quote:

Originally Posted by traderx
Thanks for the upload sabret00the.....

Will there ever be an update so that it will be able to be put on a schedule?

For some reason I am not getting any formatting like my forum, it's all white (see gif). I did change it to be able to use my css as a file thinking that was it, but it wasn't... see sig for site layout

Thanks

you can't use css as files as it doesn't realise that it should download the file, for that you'd have to put in a large enough image for your email client to ask if it can download the file, the short version is that you'd be better off using css normally.

i had an idea of making it check how you're using css switching it then switching it back after use but i forgot, the hack author will probably do this though.

regarding sending it as a scheduled task, i've not looked into it although it's an idea, it would also require stripping all of the settings half of the hack.

traderx 12-22-2004 01:23 AM

Quote:

Originally Posted by sabret00the
regarding sending it as a scheduled task, i've not looked into it although it's an idea, it would also require stripping all of the settings half of the hack.

Ok... I think that this would be a core feature of this hack, I just wonder why it hadn't been thought of from the get-go

sabret00the 12-23-2004 10:39 AM

Quote:

Originally Posted by traderx
Ok... I think that this would be a core feature of this hack, I just wonder why it hadn't been thought of from the get-go

simply because it's a newsletter so they expect you to put in information, rather than a subscription which is already available

oops forgot to say i tried to consolidate some of the space, i'm thinking of adding a right column that will hold a features member, featured forum and then below you could add add-on's like latest arcade score, latest quiz, latest journal entry, and ofcourse latest photo (from your gallery) good idea? bad idea?

does the hack author wanna save me the effort and do it instead :lol:

traderx 12-24-2004 07:48 AM

Quote:

Originally Posted by sabret00the
simply because it's a newsletter so they expect you to put in information, rather than a subscription which is already available

oops forgot to say i tried to consolidate some of the space, i'm thinking of adding a right column that will hold a features member, featured forum and then below you could add add-on's like latest arcade score, latest quiz, latest journal entry, and ofcourse latest photo (from your gallery) good idea? bad idea?

does the hack author wanna save me the effort and do it instead :lol:

I think that is a great idea. I have just install the journal hack and think it would be a good addition to the news letter. On my site (4xtraders.com/forum) I have added a left and right column to my whole site (use header and footer), could there be a way that this could be included in the html email of your commbull.php that you created. I looked around yours and was getting lost as to where/how I could do this.

Just wondering, could it be possible to pull whats send in the emails to my www.site.com/index.php? I would to have some of these items on my main page. I have created a vb powered page but have no clue how to pull those items into it..... just an idea

Thanks
Coll

PS.... HAPPY HOLIDAYS EVERYONE!!!!!!

memobug 12-24-2004 09:55 AM

Quote:

Originally Posted by dethfire
yeah it works if I uncheck registered

I changed my ISP, and commbull started timing out for me during the mailing. I have users-at-once set to 300 users at a time, as I did before.

I noticed that sometimes scripts time out after 30 seconds. It looks like there is a php setting you can make to allow scripts to run longer than 30 seconds - up to 900 seconds, for example.
Code:

set_time_limit(900);
Maybe adding that in near the top would help? I tried it in online.php for example, which sometimes times out on me and I didn't get any errors.

I have just sent my newsletter this month, so I can't test this but if someone who's having timeout problems wants to give it a try... Please let me know if it helps.

Regards,

Matt

sabret00the 12-24-2004 10:05 AM

Quote:

Originally Posted by traderx
I think that is a great idea. I have just install the journal hack and think it would be a good addition to the news letter. On my site (4xtraders.com/forum) I have added a left and right column to my whole site (use header and footer), could there be a way that this could be included in the html email of your commbull.php that you created. I looked around yours and was getting lost as to where/how I could do this.

Just wondering, could it be possible to pull whats send in the emails to my www.site.com/index.php? I would to have some of these items on my main page. I have created a vb powered page but have no clue how to pull those items into it..... just an idea

Thanks
Coll

PS.... HAPPY HOLIDAYS EVERYONE!!!!!!

yeah it would be easy to port the code over :)

sabret00the 12-24-2004 10:06 AM

Quote:

Originally Posted by memobug
I changed my ISP, and commbull started timing out for me during the mailing. I have users-at-once set to 300 users at a time, as I did before.

I noticed that sometimes scripts time out after 30 seconds. It looks like there is a php setting you can make to allow scripts to run longer than 30 seconds - up to 900 seconds, for example.
Code:

set_time_limit(900);
Maybe adding that in near the top would help? I tried it in online.php for example, which sometimes times out on me and I didn't get any errors.

I have just sent my newsletter this month, so I can't test this but if someone who's having timeout problems wants to give it a try... Please let me know if it helps.

Regards,

Matt

i would recommend that you set it to 100 users max (at a time) in all honesty.

memobug 12-25-2004 05:33 AM

Quote:

Originally Posted by sabret00the
i would recommend that you set it to 100 users max (at a time) in all honesty.

100 would be fine if there were an autorefresh capability. I have about 4000 users and better things to do ;)

I did hear back from the ISP:

Quote:

Thank you for writing in. There was a setting in the server for time out as 30 seconds. We have increased it to 300 seconds. So you will not face the problem any more. Please feel free to contact us for any further assistance.
Regards,

Matt

sabret00the 12-25-2004 11:25 AM

Quote:

Originally Posted by memobug
100 would be fine if there were an autorefresh capability. I have about 4000 users and better things to do ;)

I did hear back from the ISP:


Regards,

Matt

that ability is in there already, set it to do em every 60 seconds and it'll do it ;)

Viks 12-25-2004 01:19 PM

Hi Grandeur_69,
I installed the Commbull today... and did recieve a bulletin on my 2 test aco++++s so it appears that it is working.
1. However, i got the following error during installation -

User table altered... Failed (Possibly already updated)
User table altered... Failed (Possibly already updated)
Phrase table updated (profile.php 1 of 3)...Already Update
Phrase table updated (profile.php 2 of 3)...Already Update
Phrase table updated (profile.php 3 of 3)...Already Update
Phrase table updated (admincp/index.php) ...Already Update

2. When I click on 'send email' or 'send' to send out the commbull - then after a while i get "your request timed out" page - does this mean that the commbull did not go to all folks on the forum??

overall.. a realy COOL hack.

<thumbs up>

jamesk 12-26-2004 02:17 AM

I'm not sure if I missed this question,but is there any way to automate it?

traderx 12-26-2004 06:54 AM

Quote:

Originally Posted by sabret00the
Quote:

Originally Posted by traderx
Originally Posted by traderx
I think that is a great idea. I have just install the journal hack and think it would be a good addition to the news letter. On my site (4xtraders.com/forum) I have added a left and right column to my whole site (use header and footer), could there be a way that this could be included in the html email of your commbull.php that you created. I looked around yours and was getting lost as to where/how I could do this.

Just wondering, could it be possible to pull whats send in the emails to my www.site.com/index.php? I would to have some of these items on my main page. I have created a vb powered page but have no clue how to pull those items into it..... just an idea

Thanks
Coll

PS.... HAPPY HOLIDAYS EVERYONE!!!!!!

yeah it would be easy to port the code over :)

Mind sharing how this might be done for us php newbies such as myself:) I looked around the commbull.php but got lost. I have been playing around with vb powerd template pages and would like to add these items from commbull, so some examples on how I can do it would be great

sabret00the 12-26-2004 07:28 AM

Quote:

Originally Posted by traderx
Mind sharing how this might be done for us php newbies such as myself:) I looked around the commbull.php but got lost. I have been playing around with vb powerd template pages and would like to add these items from commbull, so some examples on how I can do it would be great

none of the additions are in the code yet, but although i'm not quite sure as i haven't looked i'm pretty sure all vBindex and vBadvanced add-on's can work on any vB powered page.

traderx 12-26-2004 08:02 AM

Quote:

Originally Posted by sabret00the
none of the additions are in the code yet, but although i'm not quite sure as i haven't looked i'm pretty sure all vBindex and vBadvanced add-on's can work on any vB powered page.


Really... I had thought you would need to have them installed, will look into it

sabret00the 12-26-2004 03:06 PM

Quote:

Originally Posted by traderx
Really... I had thought you would need to have them installed, will look into it

let me know how it goes :)

jluerken 12-30-2004 12:30 PM

Is there a way to send out a newsletter automatically once every 1 of a month?

The template says: Currently, community updates are sent weekly.
Is this really done automatically or do I have to change this text?

docvader 12-30-2004 12:58 PM

I have a few styles on my board. Any way of choosing which style this bulletin gets sent out in? Right now, it emails out as my parent style.

jluerken 12-30-2004 01:11 PM

Quote:

Originally Posted by grandeur_69
permanent fix for using css as a file:
in includes/adminfunctions_template.php

find:
Code:

if (preg_match('#^<link rel="stylesheet" type="text/css" href="(clientscript/vbulletin_css/style-\w{8}-0*' . $styleid . '\.css)" />$#', $csscontents, $match))
replace with:
Code:

if (preg_match('#^<link rel="stylesheet" type="text/css" href="'.$vboptions['bburl'].'/(clientscript/vbulletin_css/style-\w{8}-0*' . $styleid . '\.css)" />$#', $csscontents, $match))
and, find:
Code:

$QUERY[] = "css = '" . addslashes("<link rel=\"stylesheet\" type=\"text/css\" href=\$cssfilename\" />") . "'";
replace with:
Code:

$QUERY[] = "css = '" . addslashes("<link rel=\"stylesheet\" type=\"text/css\" href=\"{$vboptions['bburl']}/$cssfilename\" />") . "'";
cheers


Its working for the newsletter hack now but my normal pages are not working anymore now.

<link rel="stylesheet" type="text/css" href="http://www.clanforums.com/forum/http://www.clanforums.com/forum/clientscript/vbulletin_css/style-63c43471-00090.css" />

but it should be
<link rel="stylesheet" type="text/css" href="http://www.clanforums.com/forum/clientscript/vbulletin_css/style-63c43471-00090.css" />

How can I fix this now for all normal pages?


All times are GMT. The time now is 06:30 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.01831 seconds
  • Memory Usage 1,874KB
  • 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
  • (2)bbcode_php_printable
  • (29)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
  • (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