Member Log In
Site Navigation
Latest Modifications
- [vB 3.8.4] THX - Hack for VB. 3.8.4
By: bluedog - [vB 3.8.4] Cyb - Chatbox V.2.3
By: bluedog - [vB 4.0.x] PHPKD - Advanced Quick...
By: PHPKD - [vB 3.6.x] StopSpam
By: flappi282 - [vB 3.8.x] vBulletin Chat Addon for...
By: 123flashchat
Latest Template Mods
- [vB 4.0.x] Remove My Profile Link...
By: Ak Worm - [vB 3.8.x] Images DownloadBox...
By: cRs!MP - [vB 3.8.x] Adviertise Mod On Forum...
By: MG4 - [vB 3.8.4] Images PassWordBox...
By: cRs!MP - [vB 3.8.4] Footer Follow Ups
By: Ak Worm
Latest Styles
- [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
By: Belon - [vB 4.0.x] [4.0.3] vbdesigns.de...
By: Belon - [vB 3.8.4] CompletevB - Skylight
By: DreadKnight - [vB 3.8.3] [vB 3.8.4] Barcelona...
By: hoiquantinhoc.com - [vB 3.8.3] Natures Walk by vBSkin...
By: Chri5
Latest Graphics
- [vB ] [anim.]Team Ranks
By: cRs!MP - [vB ] Abstract Circles (3...
By: cRs!MP - [vB ] PlayStation Rank Images
By: cRs!MP - [vB 3.6.12] Heavy Stroked Button...
By: Shelley - [vB ] Minature Ranks.
By: Shelley
vBulletin Modifications »
Support Center »
vBulletin Support »
Modification Coding »
Need a little PHP help please
![]() |
| | #1 |
| |
Status: Offline Ok, so, still working on the moderator application system, but trying to make the option to create a thread when a new application is submitted. I currently have this: PHP Code: Code: Fatal error:
* No Users Matched Your Query
* You did not specify a username for your post.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_Thread_FirstPost in [path]/includes/class_dm.php on line 810
#0 vb_error_handler(256,
* No Users Matched Your Query
* You did not specify a username for your post
So any help is greatly appreciated! :D Thanks in advance! |
| |
| | #2 |
| |
Status: Offline Ok, this is the closest I got to it working but I got this error: PHP Code: PHP Code: |
|
| | #3 | |||||||||
Location: Israel Age: 29 ![]() | It's been a while since i tried to do new thread via plugin, but if i were to try & do it now my action would be as follows: i would try to follow same concept code that currently exists inside newthread.php vbuletin core file. In 3.8.x source code it's in code lines 148 - 281 (there are alot of fields you can define in code, writing here the most basic i would use, to see this works...) PHP Code: Hope this helps you my friend Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here | |||||||||
|
| | #4 |
| |
Status: Offline Well, no errors this time, but it didn't create a thread :( |
|
| | #5 | |||||||||
Location: Israel Age: 29 ![]() |
Status: Offline hmm.. did you replaced all my dummy vars with real ones ? (dummy vars such as $forumid, $username, $user_id, etc.) EDIT: also if from external file & not from plugin, might also need to include PHP Code: Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here | |||||||||
|
| | #6 |
| |
Status: Offline Not really sure on how to replace what you suggested. lol Again, I've never really coded PHP to this extent and this is my FIRST time creating a mod that creates a thread automatically. So, I'm not sure what to put where as far as that lol |
|
| | #7 | |||||||||
Location: Israel Age: 29 ![]() |
Status: Offline i used those vars as place holder for real values that needs to enter. for example where i wrote forumid, you need to place the actual forumid into which this post gonna be placed onto. Lets assume example & how would this reflect in code: please assume we want to post with: forumid = 1 username = "some name" user_id = 1 the code would look like: PHP Code: i've Added some extra echo to page code above, so you may see if this works or not. i assumed before you have some php knowledge and only placed "generic" layout of code concept i would use for it. so if this test works, then when load complete you'll see new post under forum id of "1". If no such forumid on your site, please update to some other existing forumid. The user_id & username should be set to values of some "dummy" user you've created, unless you want to post under your own name, then place your own name values. Just make sure the user id & username exists... Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here Last edited by Idan; 06-25-2009 at 07:38 PM. | |||||||||
|
| | #8 |
| |
Status: Offline Ok, Idan. I THINK I got it working now. You are awesome man!! Thank you very much!!! I really can't even thank you enough! Going to test a couple more things and will post back with an update! :D |
|
| | #9 |
| |
Status: Offline Ok, fully tested and works PERFECT!!! Thank you so very much Idan! :D |
|
| | #10 | ||||||||||
Location: Israel Age: 29 ![]() |
Status: Offline Quote:
![]() if there is anything else you need just ask, will gladly help with what i know Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here | ||||||||||
|
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Broken PHP with SUSE Update | Ken Iovino | Announcements | 2 | 06-17-2006 02:14 AM |
| PHP Vulnerabilities in <= 4.3.9 and <= 5.0.2 | Junior | Announcements | 0 | 05-11-2005 08:19 AM |
All times are GMT. The time now is 05:56 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.


























