![]() |
Quote:
what i'm currently having a problem is that I've set up my forum in which the threads from the calendar are being posted as a moderated one - meaning, all new threads should be approved by mods, but since this script bypasses that check and directly inserts a new thread into the forum it's making my jump thru the hoops and checking all the threads/removing them manually every time someone posts something that should not have been approved in the first place. So, is there any way the new threads can be created in that "moderation" queue or whatever the way the moderated threads are stored, and allow me to approve/delete them before they get posted. I can do that with the calendar events, but not the threads too. And yeah, did anyone figure out how to link the thread # inside the event post as well? or even better, update the event post every time the matching thread is updated (the original post), or vice versa? that'd be great... |
Quote:
|
^^^^.....
|
Quote:
Thanks in advance. |
i think it goes to the beginning and the ending of his hack.
|
ok, just a question regarding starting new threads.
if i am inserting a new thread/post (from that calendar.php hack code that needs to be added) and if I want it to be moderated before going public, does that INSERT statement need to be changed to insert the new thread somewhere else, or is it being inserted into the same tables but with a different flag or something. How does the vbulletin know which threads need to be moderated and which don't? Where is that setting or where are those threads stored? I'm just asking because I can't figure out how to moderate the new threads made with this script first, since it publishes the new thread right away, directly into the tables/database. |
^^
never mind, i got it from another hack... if you want to have the thread being created from the calendar event to be moderated first, add this line of code: Code:
$DB_site->query("REPLACE INTO " . TABLE_PREFIX . "moderation (threadid, postid, type) VALUES ($threadid, $firstpostid, 'thread')"); Code:
$DB_site->query(" |
I broke something but don't know what......I have about 40 events for the Month of April yet it says No events for the next 30 days... any ideas on how to fix this issue?
|
Newbie here...... Where would KirbeDEs code go and is his code in addition to Colin's?
The checkbox feature..which template does that get added to. Sorry for my noobeness. Thanks in advance. |
Quote:
|
hi there i wanted to know if ne one could help.. im using the roll call feature for my calendar... and i want it too post that in my forum aswell for each thread can anyone assist me in doin this
|
does this hack add calendar custom fields to the post as well ?
|
Ok. Here is what I did to enable a check box. This will add a check box to the Miscellaneous Options when you are creating or editing a calendar event.
When creating a new event: 1: Checking the check box will copy the event as a new thread in $forumid (defined in the code). 2: Leaving the check box unchecked will only create the event on the calendar. When editing an existing event: 1: Checking the check box will copy the event as a new thread in $forumid (defined in the code). 2: Leaving the check box unchecked will only update the calendar entry. Now... if you already created a thread and go edit the event later and check the check box, it does not update the previous thread - it creates a new thread. Also, if you want to convert an existing event to a new thread, you do not really have to "edit" anything. Just click on edit event, check the check box, and save. This will create the new thread in your forum. In calendar.php, find the following code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Log into your AdminCP and go to the Style Manager. Open the calendar_edit template and find this code: Code:
<legend>$vbphrase[miscellaneous_options]</legend> Code:
<div><input type="checkbox" name="makepost" value="1">Copy calendar event to new thread</div> |
Quote:
|
That's awesome Torqued!! I can totally use that code to do exactly what I need with this :)
Thank you so much!!! |
how can i have the information from this hack
https://vborg.vbsupport.ru/showthrea...ight=roll+call post with the message in the thread???? |
Quote:
I'm glad someone else found it useful. :) |
Quote:
I have public and private events and if the event is public I want it to be posted into the public forum. If it is a private event I want it to be posted into the proivate forum. Is this able to be done? |
Quote:
|
Quote:
|
Quote:
There are about 3 different versions in this thread. :cool: |
Quote:
I used Collin's original code, but modified to user usernames etc ect rather than bots. I also used the rolling 24 hour method rather than the midnight-midnight method. I will try KirbyDE's method and report back on how that works. I should have done that in the first place, I just got ahead of myself I guess when the error popped up hehe. Edit: Tried Kirby's code and it doesn't create a thread. Is it just code to replace Collin's completely, or is it supposed to be added in somewhere? I am sorry for my noobness, but I really don't know alot about this stuff. I don't think I am the only one who had this problem though... Quote:
|
Beautiful, Colin. And big thanks to Torqued for compiling everything and printing exact instructions for adding the check box option (EXACTLY what I was looking for).
Installed. *** Edited additional question*** Been testing it. Question: What does this hack do with re-occurring events? Still only initiate one thread (the very first time you post the event), then never again, despite the fact the event reoccurs? Because the only one extra thing I'd REALLY want: the ability to make this only post the new thread on the actual date of the event. That is, say you have an event on July 4th. I'd like the hack to allow me to enter a calendar event for the 4th, and then *only when it get's to the 4th* post that event. Re-occurring events would initiate a new thread every time the event reoccurred. Any easy way to make it do that? |
Quote:
Recurring events seem to be the same as a regular event in the db, but with some sort of flag that allows it to show up multiple times. But with it actually being a single entry, everything associated with that event is stored only once including any hacks applied to the event listing. I don't really see any way to do it without having something to track the various dates of a recurring event or for recurring events to be re-designed so that they actually populate the calendar with multiple event listings that can be changed individually or as a whole. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
The cron job actually sounds promising for both of the features I'd need -- actually starting the thread on the day it's scheduled (instead of simply when you enter the data on the calendar. I mean, if you're already typing in the info, why not just copy and paste it yourself into a new thread? As it stands, this hack isn't really saving you much but 2 or 3 extra mouse clicks...). By treating each of the reoccurring events as a separate event (even if only as a separate data item) and using the cron jobs, it's open up a whole LOT of new possibilities for this hack... |
Not a bad idea. I'm sure it would also help those of us that use the Event Attendance hack that are needing something for the recurring events.
|
Ok sorry I bump this old message but I try to install on vbulletin 3.0.7, I know it's for vb 3.0.3 but it'S supposed to work, but I have always the same error as some people before on this subjet:
Error: Database error in vBulletin 3.0.7: Invalid SQL: UPDATE forum SET replycount = replycount + 1, threadcount = threadcount + 1, lastpost = 1119364576, lastposter = FrancoisEVENBOT, lastthread = '[d-m-y] TEST 2435425252523 !!!', lastthreadid = 119, lasticonid = 0 WHERE forumid = 63 mysql error: Unknown column 'FrancoisEVENBOT' in 'field list' mysql error number: 1054 Some body have a solution for that ? Thanks (P.S.: I read all messages and I don't find solution or I'm not looking so great ^^) |
Quote:
|
Quote:
which one do I put the last piece of code above? |
can someone port this to vb3.5.
|
quick question. lets say that i would prefer to have my title list as 'Event, Date, Location' and I have my 'location' listed as a custom field in my database. I know that in the database, the custom id #4 is for location. I can figure out everything but the location in posting it to the title of the forum.
$post[title] = .$title"|".vbdate($dateformat, $dateline_from,false,true,false,true)."|" ?unknown code; shoud give me: Event Title | Event Date | Event Location |
oh, and also wanted to repost an earlier request about listing the information from the roll call feature. in case the rollcall feature is unknown, it is another hack where users can 'mark their attendance' to the event. in the calendar, it lists the members who have marked their attendance, and it would be cool to post this info at the bottom of the thread, just like in the calendar.
thanks in advance. |
Does this work for 3.5 at all? Seattle Dnb really needs this. I think it's stupid that vBulletin doesnt have this built in.
Thanks for your time. |
I'm recieving the error:
Quote:
|
Is there a product for vb3.6.x? :) I did search, but didnt find anything...
|
Anybody running this mode with 3.7.3? Checking before I start hacking.
|
All times are GMT. The time now is 04: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:
|