vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Automatically Start a Welcome Thread in the Forum of Your Choice (https://vborg.vbsupport.ru/showthread.php?t=91887)

Dr Steevil 05-15-2006 06:33 PM

Miss Amy, this is gonna be great for my growing forum! I have installed this, however before I activate it on my site I need to know one thing:

I understand changing the forumid to the forum I want the thread started in. But what about this part?

Code:

$postuserid = 1328; // The Userid of the poster
    $postusername = "Justin"; // The username of the poster

How does this work? Do the variables dynamically change? Or am I completely missing something here?

Dr Steevil 05-15-2006 06:42 PM

Oops. Guess I should've TESTED it first! I understand! Thanks for a great hack! ***clicks install***

:banana:

fly 05-15-2006 07:12 PM

Quote:

The only slight issue I have found is this. When you approve an account, the message that says 'User accounts validated and users notified" is missing the sort of "silver header bar" it normally has. If you comment out:
require_once('./global.php');
then the header bar reappears, but then the post that is created is blank, it does not contain any text.

I am guessing that using global.php twice is causing the header bar to vanish. This itself is not a problem, however I worry about what other side effects this is having.

Perhaps an expert coder could point us in the right direction as we are NEARLY there!
I believe require_once says not to call it again, if it has already been called, so I don't think that's the issue. There weren't any hooks listed in the area that you pasted the code?

Its getting late, I'll try to look at it again tomorrow in my spare time. It shouldn't be that hard to get going. Odd...

Mark.B 05-16-2006 06:08 PM

Quote:

Originally Posted by flypaper
I believe require_once says not to call it again, if it has already been called, so I don't think that's the issue. There weren't any hooks listed in the area that you pasted the code?

Its getting late, I'll try to look at it again tomorrow in my spare time. It shouldn't be that hard to get going. Odd...

No there's no hooks in that section as far as I can see.

It is very nearly there...I don't much care about the missing header bar in the confirm message as it's purely cosmetic, my worry is what other side effects that is having.

Mark.B 05-23-2006 07:00 PM

Hmmm....another problem with my method...if you approve more than one account at once the second thread contains the text for both threads, the third contains all three, etc etc.

It must be loooping wrongly but I can't seem to fix that either.

GamerJunk.net 05-23-2006 09:22 PM

Mine keeps reverting back to your welcome thing even tho I changed it in the plugin

peterska2 06-12-2006 09:06 PM

It doesn't work for me on 3.6

Locked up my ACP - No error Messages - Had to disable plugins via config.php and remove it.

Annapurna 06-19-2006 03:08 PM

I'm still on 3.5.4

Worked fine!

BUT: stopped working as soon as I changed the forum-id.
Changing back: not working!
uninstall / reinstall: not working!

Any ideas?

Andreas

ab420 07-03-2006 02:35 AM

Thank you SOOOO much for this!!! I've been killing myself trying to say hello to every new member! LOL!

Ski-Whiz 07-10-2006 02:22 AM

Quote:

Originally Posted by peterska2
It doesn't work for me on 3.6

Locked up my ACP - No error Messages - Had to disable plugins via config.php and remove it.


Amy can we get an update for 3.6, AND somehow make this so it can create a thread unpon email verification??

This prevents trolls from creating BS accounts, and spaming our welcome forum..


All times are GMT. The time now is 07:42 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.01289 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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