News:

Wondering if this will always be free?  See why free is better.

Main Menu

Welcome Topic

Started by SMFHacks.com Team, May 07, 2007, 09:42:29 PM

Previous topic - Next topic

vbgamer45

Doesn't look like it then.
You can upload the mod to http://www.smfhacks.com/smf-package-parser.html
And make sure all the edits are done on the SMF files
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shambles

There should have been a couple of edits to that file (and other edits to other files) - it certainly explains why you aren't getting welcome posts made ;)

I'd say the mod wasn't completely installed. You could do worse than editing the files yourself, as per the instructions in the mod parsing system, or try uninstalling/reinstalling it.

We've seen occasions where mod edits haven't been performed during installation - can't recall the full details but it's usually related to not having sufficient permissions to the filestore, often as a result of not actually owning the filestore/filesystem.

Who's hosting your website?



Beaten to it by the master  8)

snooks

Quote from: vbgamer45 on March 18, 2015, 09:52:43 AM
Doesn't look like it then.
You can upload the mod to http://www.smfhacks.com/smf-package-parser.html
And make sure all the edits are done on the SMF files
Thanks guys

I have manually edited all the files i noticed some files had multiple additions of the welcome mod, now i have made sure only one edition of the added files are within the PHP files what do i do please, i have the welcome mod installed already and i have uploaded and overwritten the new php files
I tested a member using a old email i have but didn't work what do i do please next ? do i uninstall and re-install
thanks again

Shambles

(re-)download one of the files you edited (eg, Register.php) to make sure the edits still exist, and check you still have no errors in your error log.

snooks

Quote from: Shambles on March 18, 2015, 10:51:25 AM
(re-)download one of the files you edited (eg, Register.php) to make sure the edits still exist, and check you still have no errors in your error log.
Yes it does still exists, think ill abandon it ive spent hours trying to get this to work i know its prob me doing something wrong but grrr annoying me now

thanks for the efforts Shambles

soundlizard

Hello! I am having a major brainfart this evening. First off, let me say that this is one of, if not my favorite mod. I have built several sites with SMF, and this one is always the first to be added to it. Im sure this question has been answered, and i have searched through this entire thread looking for that answer, which i have apparently overlooked. This is the first time this has happened, so i have no clue how to fix it. i am getting a double post to welcome new members. I have tried everything i can think of to fix it, but to no avail. Can anyone point me to the answer to this issue?


and, as always.... thanks for a spectacular mod!

vbgamer45

Check the mod install upload it to http://www.smfhacks.com/smf-package-parser.html and look at all the mod edits done on your forum and if it is done twice remove the duplicate code.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

sangham.net

Valued creator of "Welcome Topic",

longer time enjoying this great mod, one likes to ask: Would it be possible to get the Users Profil page as a link behind his name into the post?
When meeting someone new, people would like to look at his profile first and it would be easy if it would be provided within this welcome Topic. One Idea would be a special mod, of cause but maybe WelcomeTopic-Creator have other hints and supply's.

Thanks for you hints and generosity in advanced

vbgamer45

Possible but not adding any features at this time don't have the time.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

villasg

#669
Hello i have a problem .
Smf 2.1.0 after register mod makes DOUBLE welcome posts .
I Check the mod with  http://www.smfhacks.com/smf-package-parser.html and i see some strange thinks .
In WelcomeTopic2rc4.xml in section ./Sources/Register.php have this double code ( and have  error if try to remove mod becvause do not find the 1st section )


Says
Find
// Let the integration know that they've been activated!
call_integration_hook('integrate_activate', array($row['member_name']));

Add after :

// Welcome Topic Mod
global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);


// End Welcome Topic Mod


BUT after some lines have this edit

Find :
// Let the integration know that they've been activated!
call_integration_hook('integrate_activate', array($row['member_name']));


Add After :

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod


If you try to unistall the mod first try to find this :

// Welcome Topic Mod
global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);


// End Welcome Topic Mod



but the code are :

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod


What is the correct ?

Anyway i try to edit the WelcomeTopic2rc4.xml removing each every time but the problem exists ....

vbgamer45

This one is right in that spot

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GL700Wing

Quote from: sangham.net on June 06, 2015, 11:39:20 PM
Would it be possible to get the Users Profile page as a link behind his name into the post?
I updated this mod a couple of years ago on my forum to link to the user's profile in the Welcome Message - here is a list of the changes I made in Sources/WelcomeTopic2.php

FIND
global $smcFunc, $modSettings, $sourcedir;

ADD AFTER
global $scripturl, $title;

FIND
$memberName = $memRow['real_name'];
}


REPLACE WITH
$memberName = $memRow['real_name'];
}
else
{
$result = $smcFunc['db_query']('',"
SELECT
id_member
FROM {db_prefix}members
WHERE REAL_NAME = '$memberName' LIMIT 1");
$memRow = $smcFunc['db_fetch_assoc']($result);
$smcFunc['db_free_result']($result);

$memberID = $memRow['id_member'];
}


FIND
'body' => str_replace("[username]",$memberName,$row2['welcomebody']),

REPLACE WITH
'body' => str_replace("[username]",'<a href="' . $scripturl . '?action=profile;u=' . $memberID . '"' . $title . '>' . $memberName . '</a>',$row2['welcomebody']),
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Harvester

I Installed this no problems the other day but now for whatever reason, every new member who joins, there are TWO new topics started for them both identical.

I sent a screen shot of my settings page.

Please help me stop this from making two topics for each new member.

vbgamer45

I would double check the edits to make sure the edits are not done twice.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harvester

Quote from: vbgamer45 on July 13, 2015, 06:49:15 PM
I would double check the edits to make sure the edits are not done twice.


I was hoping this was the case but I just checked and none are done twice.

What else could be causing me to get duplicate posts every time? I really need to get this resolved. The site just opened and i am getting a lot of new members and I have been having to go back in and delete all the duplicate posts.

villasg

Quote from: Harvester on July 14, 2015, 08:26:44 AM
Quote from: vbgamer45 on July 13, 2015, 06:49:15 PM
I would double check the edits to make sure the edits are not done twice.


I was hoping this was the case but I just checked and none are done twice.

What else could be causing me to get duplicate posts every time? I really need to get this resolved. The site just opened and i am getting a lot of new members and I have been having to go back in and delete all the duplicate posts.

Take a look

Quote from: villasg on June 08, 2015, 01:51:20 AM
Hello i have a problem .
Smf 2.1.0 after register mod makes DOUBLE welcome posts .
I Check the mod with  http://www.smfhacks.com/smf-package-parser.html and i see some strange thinks .
In WelcomeTopic2rc4.xml in section ./Sources/Register.php have this double code ( and have  error if try to remove mod becvause do not find the 1st section )


Says
Find
// Let the integration know that they've been activated!
call_integration_hook('integrate_activate', array($row['member_name']));

Add after :

// Welcome Topic Mod
global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);


// End Welcome Topic Mod


BUT after some lines have this edit

Find :
// Let the integration know that they've been activated!
call_integration_hook('integrate_activate', array($row['member_name']));


Add After :

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod


If you try to unistall the mod first try to find this :

// Welcome Topic Mod
global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);


// End Welcome Topic Mod



but the code are :

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod


What is the correct ?

Anyway i try to edit the WelcomeTopic2rc4.xml removing each every time but the problem exists ....

Quote from: vbgamer45 on June 08, 2015, 08:29:58 AM
This one is right in that spot

// Welcome Topic Mod

if (empty($row['last_login']))
{

global $sourcedir;
require_once($sourcedir . '/WelcomeTopic2.php');

DoWelcomePost($row['member_name']);

}

// End Welcome Topic Mod


Harvester

Thank you  Villasg,

I am guessing the resolution to my issue is in your post but I am having a hard time following your post. Im not sure what to do to fix my problem.

smitch6

welcome post is saying welcome {username} rather than actually useing their username
any ideas pls?
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

smitch6

kool thanks working now
i did have it like that but it didn't save the forum position the 1st time and i didn't realise
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

Advertisement: