Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 181
Total: 181

Author Topic: [Mod] Welcome Topic  (Read 93968 times)

0 Members and 2 Guests are viewing this topic.

Offline treasurenet

  • Member
  • *
  • Posts: 42
    • View Profile
Re: [Mod] Welcome Topic
« Reply #30 on: July 11, 2008, 03:34:02 am »
I have a problem with this mod. I'm currently running SMF 1.1.5 with TP V. .98.  I followed directions but recently got a new member and it didn't do the welcome post. I've checked the settings and all systems are a go but it didn't go..LOL
Any ideas?

Same problem here... when I register a new member through he admin panel. No new post.  SMF 1.1.5 no TP.

I have selected the forum, and I have added a welcome message. 

sigh.


solved - sorry - thanks for yet another cool mod.
« Last Edit: July 11, 2008, 03:54:45 am by treasurenet »
Using SMF 1.1.10, Gallery Pro 2.5

Offline treasurenet

  • Member
  • *
  • Posts: 42
    • View Profile
Re: [Mod] Welcome Topic
« Reply #31 on: July 11, 2008, 07:56:14 am »
Is there any way to link to the new users profile in the welcome post?

Thanks for a cool mod!
Using SMF 1.1.10, Gallery Pro 2.5

Offline treasurenet

  • Member
  • *
  • Posts: 42
    • View Profile
Re: [Mod] Welcome Topic
« Reply #32 on: July 12, 2008, 03:00:33 am »
SIGH.

p.s., I would also like the new users to be redirected to the new post!
Using SMF 1.1.10, Gallery Pro 2.5

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [Mod] Welcome Topic
« Reply #33 on: July 12, 2008, 10:06:24 am »
Add the two suggestions to the mod tracker. They can be done in the next update for the mod.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline treasurenet

  • Member
  • *
  • Posts: 42
    • View Profile
Re: [Mod] Welcome Topic
« Reply #34 on: July 12, 2008, 01:16:58 pm »
Thanks!  Done!
Using SMF 1.1.10, Gallery Pro 2.5

Offline Lum-chan

  • Member
  • *
  • Posts: 8
  • Lum-chan is cute!
    • View Profile
    • The World of Urusei Yatsura's Lum
Re: [Mod] Welcome Topic
« Reply #35 on: July 13, 2008, 05:47:35 pm »
Installed Welcome Topic on SMF 1.1.5/TP 1.05 flawless. Ony thing what might not correctly is the use of more than one welcome topic. It seems is uses the last added topic in de config. I have two, but it uses only the one on the top of the list.

It might be coincidence, but I'm not sure.

I'll await a few new members en see what happens. If I create new (fake)accounts myself, the same topic is still used (the one on top of the topiclist) but the second one isn't used while posting a welcome topic.

How come?
Lum-chan


Offline Jakki

  • Member
  • *
  • Posts: 4
    • View Profile
Re: [Mod] Welcome Topic
« Reply #36 on: August 12, 2008, 08:53:54 am »
I have a problem with this mod. I'm currently running SMF 1.1.5 with TP V. .98.  I followed directions but recently got a new member and it didn't do the welcome post. I've checked the settings and all systems are a go but it didn't go..LOL
Any ideas?

Same problem here... when I register a new member through he admin panel. No new post.  SMF 1.1.5 no TP.

I have selected the forum, and I have added a welcome message. 

sigh.


solved - sorry - thanks for yet another cool mod.

What did you do? to get it to work?

Offline alan86

  • Member
  • *
  • Posts: 1
    • View Profile
    • Easy Prog
Re: [Mod] Welcome Topic
« Reply #37 on: September 29, 2008, 07:55:05 am »
I use smf 2.0 so I had to make the mod compatible with it.
Is it possible to redistribute it or I have to keep it only for me?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [Mod] Welcome Topic
« Reply #38 on: September 29, 2008, 07:07:12 pm »
Keep it for you for now. I plan to update the mod to SMF 2.0 shortly.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bergler

  • Member
  • *
  • Posts: 4
    • View Profile
Re: [Mod] Welcome Topic error
« Reply #39 on: March 07, 2009, 11:13:32 am »
I am getting this error after installing this mod for through the SMF 2.0RC1 installer. When I installed it there were no errors? How can it be fixed?? Thanks.

http://www.flytyingbug.com/forums/index.php?action=welcome&sa=add2 
Invalid value inserted or no type specified.
Function: addtopic2
File: /nfs/c03/h03/mnt/52866/domains/flytyingbug.com/html/forums/Sources/WelcomeTopic2.php
Line: 204


Quote
184:    
   
$_REQUEST['topicbody'] = un_htmlspecialchars($_REQUEST['topicbody']);
185: 
186:    
}
187:    
 
188:    
$topicsubject = $smcFunc['htmlspecialchars']($_REQUEST['topicsubject'], ENT_QUOTES);
189:    
$topicbody = $smcFunc['htmlspecialchars']($_REQUEST['topicbody'], ENT_QUOTES);
190:    
   
 
191:    
if ($topicsubject == '')
192:    
   
fatal_error($txt['welcome_err_nosubject'], false);
193:    
   
 
194:    
if ($topicbody == '')
195:    
   
fatal_error($txt['welcome_err_nobody'], false);
196:    
   
 
197:    
   
 
198:    
   
echo "INSERT INTO {db_prefix}welcome 
199:    
   
   
(welcomesubject, welcomebody)
200:    
   
VALUES ('$topicsubject', '$topicbody')";
201:    
   
// Insert the Topic
202:    
   
$smcFunc['db_query']('',"INSERT INTO {db_prefix}welcome 
203:    
   
   
(welcomesubject, welcomebody)
==>204:    
   
VALUES ('$topicsubject', '$topicbody')");
   
 
205:    
 
206:    
// Redirect to the main settings
207:    
redirectexit('action=admin;area=welcome;sa=admin');
208: }
209: 
210: function EditTopic()
211: {
212:    
global $txt, $context, $smcFunc, $mbname, $sourcedir, $modSettings;
213: 
214:    
// Load the edit topic template
215:    
$context['sub_template']  = 'edittopic';
216: 
217:    
// Set the page title
218:    
$context['page_title'] = $mbname . ' - ' . $txt['welcome_edittopic'];
219:    
 
220:    
// Get the Topic ID   
 
221:    
$id = (int) $_REQUEST['id'];
222:    
 
223:    
 
224:    
$request = $smcFunc['db_query']('',"

Offline Bergler

  • Member
  • *
  • Posts: 4
    • View Profile
Re: [Mod] Welcome Topic
« Reply #40 on: March 08, 2009, 12:35:32 pm »
here is another error,

 http://www.flytyingbug.com/forums/index.php?action=activate;u=12;code=eda6c4d9a5 
8: Undefined index: memberName
File: /nfs/c03/h03/mnt/52866/domains/flytyingbug.com/html/forums/Sources/Register.php
Line: 658 

Quote
638:    
   
elseif ($row['validation_code'] == '')
639:    
   
{
640:    
   
   
loadLanguage('Profile');
641:    
   
   
fatal_error($txt['registration_not_approved'] . ' <a href="' . $scripturl . '?action=activate;user=' . $row['member_name'] . '">' . $txt['here'] . '</a>.', false);
642:    
   
}
643: 
644:    
   
$context['sub_template'] = 'retry_activate';
645:    
   
$context['page_title'] = $txt['invalid_activation_code'];
646:    
   
$context['member_id'] = $row['id_member'];
647: 
648:    
   
return;
649:    
}
650: 
651:    
// Let the integration know that they've been activated!
652:    
if (isset($modSettings['integrate_activate']) && function_exists($modSettings['integrate_activate']))
653:    
   
call_user_func($modSettings['integrate_activate'], $row['member_name']);
654: // Welcome Topic Mod
655:    
global $sourcedir;
656:    
require_once($sourcedir . '/WelcomeTopic2.php');
657:    
   
   
   
 
==>658:    
DoWelcomePost($row['memberName']);

659:    
 
660:    
 
661:    
// End Welcome Topic Mod
662:    
 
663: 
664:    
// Validation complete - update the database!
665:    
updateMemberData($row['id_member'], array('is_activated' => 1, 'validation_code' => ''));
666: 
667:    
// Also do a proper member stat re-evaluation.
668:    
updateStats('member', false);
669: 
670:    
if (!isset($_POST['new_email']))
671:    
{
672:    
   
require_once($sourcedir . '/Subs-Post.php');
673: 
674:    
   
adminNotify('activation', $row['id_member'], $row['member_name']);
675:    
}
676: 
677:    
$context += array(
678:    
   
'page_title' => &$txt['registration_successful'],

Offline lossehelin

  • Member
  • *
  • Posts: 1
    • View Profile
Re: [Mod] Welcome Topic
« Reply #41 on: March 12, 2009, 12:19:01 pm »
hi!
i installed this mod on smf 2.0rc1 with runet theme.

The installation went fine... BUt the thing is when someone registers it does open a new topic but with no Nick in it.
The tag [username] isn't working.

any idea?
« Last Edit: March 12, 2009, 12:35:24 pm by lossehelin »

Offline Bergler

  • Member
  • *
  • Posts: 4
    • View Profile
Re: [Mod] Welcome Topic
« Reply #42 on: March 12, 2009, 02:15:24 pm »
That's the same problem I am having but know one wants to talk about it?  ???  ???

Today I noticed there was a member waiting to be activated, so I did and the mod worked properly ??? but...... again wish there was some support?? I has to be something simple, not my area of expertise!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [Mod] Welcome Topic
« Reply #43 on: March 12, 2009, 06:50:39 pm »
Sorry haven't had time will try to look into the issue in the next couple of weeks
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [Mod] Welcome Topic
« Reply #44 on: March 14, 2009, 05:39:04 pm »
New update
SMF 2.0 bug fixes
!Fixed bug with memberName when registering a member should be memberName
!Fixed bug if you using multiple cases for [UsErNaMe]
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
5837 Views
Last post July 25, 2006, 07:28:35 pm
by SMFHacks
0 Replies
3509 Views
Last post March 03, 2007, 04:51:26 am
by maker
0 Replies
3575 Views
Last post March 15, 2007, 03:14:22 pm
by brent38934
5 Replies
5089 Views
Last post July 16, 2013, 05:00:06 pm
by SMFHacks
3 Replies
5902 Views
Last post September 27, 2013, 04:57:59 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal