vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Welcome Thread / Post For New Users (https://vborg.vbsupport.ru/showthread.php?t=305915)

ozzy47 11-05-2014 12:15 AM

That is really strange, are these users actually verifying their email?

dknelson 11-05-2014 09:13 PM

Just enabled this again. Will see what it does. I've had one registration since enabling it and did not get the error.

One thing that it didn't do though. The message did not link the new users name to his profile.

dknelson 11-05-2014 09:25 PM

OK...I see where it has to be setup in the control panel. I don't fully understand it though. It says:

HTML Code:

$username = The username of the member who joined.
$url = The base url for your site, ie: http://www.MYSITE.com
$bbtitle = The title of your site set in vboptions Site Name / URL / Contact Details

Should you want the username to link to the profile use this, [url="$url/member.php?u=$userid2"]$username[/url]

Does it pull the $URL from my board settings or do I need to enter that info. Example, would I put [url=http://mysite.com/forum/member.php? u=$useid2.........etc?

ozzy47 11-05-2014 10:24 PM

Just as it says, [url="$url/member.php?u=$userid2"]$username[/url ] when it is actually posted would be the nname of the user that joined, and clicking on that name would lead you to their profile.

It does auto pull the url of your site.

dknelson 11-06-2014 01:28 AM

Well, still getting the error. I have no idea how to fix it so I guess I'll just disable it. Sorry.

ozzy47 11-06-2014 01:34 AM

If you want me to try and debug it on your site, you could PM me admin account.

dknelson 11-11-2014 05:15 PM

Can anybody tell me how to add the new users location to the title bar.

At this time, I have it configured to say something like Please welcome our newest user, John Doe.

I would like it to add their location, Please welcome our newest user, John Doe from Texas. or wherever.

ozzy47 11-11-2014 05:21 PM

That is not available at this time. I think it would require modifying of the code, to grab the specific profile field and use it in the title.

dknelson 11-11-2014 11:22 PM

I guess I'll have to give up on this one. I have been unable to figure out what is causing this problem but it hasn't gone away I had a welcome thread mod on my 3.8.7 forum and never had an issue. I've disabled other plugins, changed it to post thread before email activation, turned off TapaTalk in app registration. I don't know what to do. Would love for this to work but it just isn't for me.

Code:

MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Tue, 11 Nov 2014 20:14:41 -0500

Database error in vBulletin 4.2.3 Beta 3:

Invalid SQL:

                                UPDATE user
                                SET ozzmodz_welcome_thread_welcomed = 1
                                WHERE userid =;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number  : 1064
Request Date  : Tuesday, November 11th 2014 @ 08:14:40 PM
Error Date    : Tuesday, November 11th 2014 @ 08:14:41 PM


ozzy47 11-11-2014 11:26 PM

Yeah I don't know why it is not getting the user id, with over 100 installs of this, no one else has reported the issue. :confused:


All times are GMT. The time now is 11:02 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.01152 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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