The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
Woohoo!!!
This has always been my Favorite Hack Ever!! Thanks to Erwin and now Abe1 for this. |
#3
|
|||
|
|||
Very awesome!!!
Totally agree with Jugo, I think I have 8 or 9 forms running on my site now Thanks! |
#4
|
|||
|
|||
Hmmm testing this, even the generic unaltered form.
Answers are not posting to the forum. The template posts comes up right, and the questions do.. but the answers are blank. |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
Tested and works
Thanks so much!!! [high]* Cyricx gets busy updating his dozen or so forms...[/high] |
#8
|
|||
|
|||
One more bug fix for ya bud.
If you use a tableprefix and use this thread to post a reply, you'll get an error, missed 2 table prefixs. Change this in the plugin Code:
if ($formreply == "1") { $db->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".$db->escape_string(htmlspecialchars($bbuserinfo[username]))." $formtitle','".$db->escape_string($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . $db->escape_string($formsend) . "','1','1','0','0','1')"); $db->query("UPDATE thread SET replycount = replycount + 1, lastpost = " . TIMENOW . ", lastposter = '".$db->escape_string($bbuserinfo[username])."' WHERE threadid = $formreplythreadid"); Code:
if ($formreply == "1") { $db->query("INSERT INTO " . TABLE_PREFIX . "post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".$db->escape_string(htmlspecialchars($bbuserinfo[username]))." $formtitle','".$db->escape_string($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . $db->escape_string($formsend) . "','1','1','0','0','1')"); $db->query("UPDATE " . TABLE_PREFIX . "thread SET replycount = replycount + 1, lastpost = " . TIMENOW . ", lastposter = '".$db->escape_string($bbuserinfo[username])."' WHERE threadid = $formreplythreadid"); |
#9
|
||||
|
||||
I decided to acually work on this hack. I made new thread, new poll, new post, and new PM all use VB's functions instead of the form runing the queries. This alows everything to be done correctly. Words beng added to search, subsciptions being emailed, and so on.
Here is the offical list of this major update: Version 2.5 - Major update: - Templates have a few lines changed here and there. - You can now have more then 2 poll options very eazaly - Polls can'tbe created if your not creating a new thread - New Thread now uses VB function to add the thread - New Poll now uses VB function to add the poll - New Reply now uses VB function to add the reply - PM now uses VB function to send the PM |
#10
|
|||
|
|||
LOL..Nice work Abe...
Classy!! |
#11
|
||||
|
||||
*Rowdy clicks install*
|
#12
|
|||
|
|||
When I import this, it's blank?
Any ideas? |
#13
|
|||
|
|||
Nevermind, I imported into the wrong location
|
#14
|
||||
|
||||
Installed and works but it doesn't look like vB code will work in the answers template. Any way to get that to work so that I can bold the questions when the results are spit out?
|
#15
|
|||
|
|||
Quote:
I have a question - I have mine posting to a new thread. One problem is when the thread gets posted it goes into the moderation queue - any idea how to stop taht? It does not appear to be the forum perms causing it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|