![]() |
Hi everyone,
First I apologize for my "frenchie" english :). Vbulletin is a great forum software.... but many of us are webmaster from website with articles, tutorials, contribution and more :). We are all using PHP/MySQL to have "automated" website. As far as i am concern, my website deals with Flash. And i needed to have comments/questions forums for all of my tutorials and contributions. My website is "automatic" and a user can add a script/tutorial so i was obliged to found a way to automatically create this comments forum. ( and with VBulletin on my website i did not want to create a comments table .... ) So here is a script with some usefull function to do that. It creates a thread and insert a message in it. ( you should create a forum not visible from the users and use it's forum id ). You can easilly understand how it works i think. :). Do not h?sitate for questions... i'll help you. ( Just wanna thanx TubeDog for his helps ). I'll improve the script adding those features : - Functions to retreive number of comments/questions for an article. - E Mail sending to the articles author for each new responses. - and more ... jsut ask away :). here it is : PLEASE TAKE CARE OF CHANGING i conid by iconid ( the same for ipad dress by ipaddress etc.. ( see the post from tubedogg bellow ) due to a "bug" i cannot fix it manullay in my post sorry. PHP Code:
|
This is my fault, cause I gave you the code (but I think it's really vB's fault, because I double-checked the code!!), but in the insert thread function, you need to change
Code:
dateline,i conid,visible Code:
dateline,iconid,visible Code:
showsignature,ipad dress,iconid Code:
showsignature,ipaddress,iconid |
Yes it's already done in the script I gave.. I had some mysql error ... :) but it was so strange to have i conid... so a little "phpmyadmin trip" and it was corrected.
Tommorrow i'll add some functions :). But do you know how i can have an e mail automaticcaly send to the author of the article when a message is posted in the thread ? |
Wow ... i think in fact it s when we cut/paste the script he automatically add a space between i and conid ... but i don t know why ... :).
I'll try to fix it manually by editing my post :). |
Any updates on this project? Looks very very good
|
bump:eek:
|
All times are GMT. The time now is 05:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|