Welcome PM on First Login

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
bosnier
Registered User
Posts: 20
Joined: Mon Jan 25, 2010 8:08 pm

Re: Welcome PM on First Login

Post by bosnier » Tue Jan 26, 2010 5:57 pm

when i try enter my text , i got this massage always

Field Naslov may not be blank
Field Poruka may not be blank

Andrewkin
Registered User
Posts: 54
Joined: Sun Oct 11, 2009 10:18 pm

Re: Welcome PM on First Login

Post by Andrewkin » Wed Jan 27, 2010 10:14 pm

Hey, I just tried to install this mod, everything went along smoothly until I went to the new module I installed and got this message

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Table 'jeffreys_ROH.phpbb_wpm' doesn't exist [1146]

SQL

SELECT * FROM phpbb_wpm WHERE wpm_config_id = 1

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/functions_wpm.php
LINE: 243
CALL: dbal_mysql->sql_query()

FILE: includes/functions_wpm.php
LINE: 30
CALL: welcome_pm->get_data()

FILE: includes/acp/acp_wpm.php
LINE: 35
CALL: welcome_pm->welcome_pm()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_wpm->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Can someone tell me what I did wrong?

EDIT: I also don't understand what to do with the SQL presented at the beginning of the install.xml document.

Code: Select all

CREATE TABLE phpbb_wpm (
	wpm_config_id int(3) NOT NULL,
	wpm_enable tinyint(1) unsigned NOT NULL,
	wpm_send_id mediumint(8) NOT NULL,
	wpm_preview tinyint(1) unsigned NOT NULL,
	wpm_variables varchar(255) NOT NULL,
	wpm_subject varchar(100) NOT NULL,
	wpm_message mediumtext NOT NULL,
	wpm_version varchar(255) NOT NULL,
	PRIMARY KEY	(wpm_config_id)
	) ;

	INSERT INTO phpbb_wpm (wpm_config_id, wpm_enable, wpm_send_id, wpm_preview, wpm_variables, wpm_subject, wpm_message, wpm_version) VALUES(1, 1, 2, 0, '', 'Welcome to {SITE_NAME}!', 'Hello, [b]{USERNAME}[/b]!\n\nWelcome to {SITE_NAME}	({SITE_DESC})\n\nYou registered on [b]{USER_REGDATE}[/b]. According to your input, your email is [b]{USER_EMAIL}[/b] and you live in timezone [b]{USER_TZ}[/b]. It is nice to know that you speak {USER_LANG_LOCAL}.\n\nYou can contact us here: {BOARD_CONTACT} or here: {BOARD_EMAIL}, whichever you prefer, at anytime. Thank you for choosing us.\n\n-Thank you for registering at {SITE_NAME}!\n\nThanks, {SENDER}', '2.2.5');
Can someone tell me where to put that, I think that's where the problem is coming from, thanks :)

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Welcome PM on First Login

Post by ChriZathens » Thu Jan 28, 2010 10:31 am

My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: Welcome PM on First Login

Post by satandream » Thu Jan 28, 2010 12:26 pm

I wonder if this has been asked before but is it a simple way to prevent newly registered users to use the forum until they have read the pm and a checkbox to accept?

Andrewkin
Registered User
Posts: 54
Joined: Sun Oct 11, 2009 10:18 pm

Re: Welcome PM on First Login

Post by Andrewkin » Thu Jan 28, 2010 9:13 pm


Thanks man, you saved me many headaches! :D

Andrewkin
Registered User
Posts: 54
Joined: Sun Oct 11, 2009 10:18 pm

Re: Welcome PM on First Login

Post by Andrewkin » Thu Jan 28, 2010 9:56 pm

Okay now I'm getting this error with my site when accessing my PM box or the new tab in the ACP:
Parse error: syntax error, unexpected $end, expecting ',' or ')' in .../includes/functions_user.php on line 2921


Here is line 2921:

Code: Select all

2921.  	 if (isset($sql_wh
Can someone spot the problem because I cant?

Andrewkin
Registered User
Posts: 54
Joined: Sun Oct 11, 2009 10:18 pm

Re: Welcome PM on First Login

Post by Andrewkin » Fri Jan 29, 2010 10:24 pm

Okay, I just cant get this mod to work, I upload all the files, I add the SQL, I edit the correct files to (what I think is) the correct coding, I purge the cache, I enable the module in the ACP, it just wont send. I have it enabled, but I just cant figure it out, am I doing something wrong with the coding? (Pics below)
Attachments
constants.png
constants.png (210.16 KiB) Viewed 746 times
constants.png
constants.png (199.24 KiB) Viewed 746 times
functions.png
functions.png (189.04 KiB) Viewed 746 times
functions_user.png
functions_user.png (191.15 KiB) Viewed 746 times

Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: Welcome PM on First Login

Post by Lamer4o » Sat Jan 30, 2010 11:32 am

Mine function_user is different from what you say ...
It's this

Code: Select all

'user_options'		=> 230271,
It's not like this

Code: Select all

'user_options'		=> 895,
Do i have to change mine 230271 to 1919 or to something els Becoas i don't what to get Bugged ..

Andrewkin
Registered User
Posts: 54
Joined: Sun Oct 11, 2009 10:18 pm

Re: Welcome PM on First Login

Post by Andrewkin » Sat Jan 30, 2010 4:29 pm

I've read you're supposed to increase that number by 1024, but I also read that a mod isn't supposed to edit that number.

Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: Welcome PM on First Login

Post by Lamer4o » Sat Jan 30, 2010 9:48 pm

Lamer4o wrote:Mine function_user is different from what you say ...
It's this

Code: Select all

'user_options'		=> 230271,
It's not like this

Code: Select all

'user_options'		=> 895,
Do i have to change mine 230271 to 1919 or to something els Becoas i don't what to get Bugged ..
This problem and to ask How to make the PM for English Bulgarian Russian German (Language).
I mean if I'm using English to get an English PM Message,if I'm using a Bulgarian (lang.) to get an Bulgarian PM Message and e.c.

User avatar
ravikum
Registered User
Posts: 82
Joined: Tue Dec 02, 2008 5:13 pm
Location: Internet 24X7

Re: Welcome PM on First Login

Post by ravikum » Sun Jan 31, 2010 6:37 am

Hi,
thanks for the mod.
I have implemented it and it is working well.

Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: Welcome PM on First Login

Post by Lamer4o » Mon Feb 01, 2010 12:14 am

So any new idea's about the
USER_OPTIONS = > 230271 ?
I mean what number i have to Re-Place it whit?

bosnier
Registered User
Posts: 20
Joined: Mon Jan 25, 2010 8:08 pm

Re: Welcome PM on First Login

Post by bosnier » Mon Feb 01, 2010 4:26 pm

I upload all the files, I add the SQL, I edit the correct files to (what I think is) the correct coding, I purge the cache, I enable the module in the ACP and when i try save i got this error (i put everything, sender , text, title in ACP panel)

Field Naslov may not be blank
Field Poruka may not be blank

in my language:
Naslov - Tittle
Poruka - Text

pls help me !

Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: Welcome PM on First Login

Post by Lamer4o » Tue Feb 02, 2010 1:02 am

Hello to all i want to know how to make the Welcome 'My site' 'My site description' Whit a color (i mean to be colored in red) and to change some of the text...

Edit :
And to make it if the user use a different language than English to be on it (I mean Russian French German Bulgarian)

User avatar
Mr_Teddy
I've Been Banned!
Posts: 14
Joined: Sat Feb 13, 2010 10:07 am

Re: Welcome PM on First Login

Post by Mr_Teddy » Sat Feb 13, 2010 1:10 pm

I have installed it but can not enter the ACP;
Error:
Language file ./../language/en/mods/info_acp_wpm.php couldn't be opened.
No Support by PM!
Please provide us with the information necessary to assist you by filling out the Support Request Template.

Locked

Return to “[3.0.x] MOD Database Releases”