Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #61  
Old 16 Nov 2004, 19:35
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
Uhhh...no...
Reply With Quote
  #62  
Old 16 Nov 2004, 21:26
zeropaid's Avatar
zeropaid zeropaid is offline
 
Join Date: Nov 2004
no, I just copied code from earlier in this thread.. still getting that wierd error even with test data.. still workin on it though.
Reply With Quote
  #63  
Old 25 Nov 2004, 11:28
StefanS StefanS is offline
 
Join Date: Nov 2004
Hi,

just tested the following code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

works for me with 3.03 without problems ...
Reply With Quote
  #64  
Old 25 Nov 2004, 11:43
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
Originally Posted by StefanS
Hi,

just tested the following code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

works for me with 3.03 without problems ...
is there a form to add the threads you want and create the conditions under which their added?
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #65  
Old 30 Nov 2004, 02:14
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Sorry for the delay guys, never did release this as an official hack due to the lack of interest, seemed everyone except for me knew how to do this at the time. Man trying this stuff in the early RCs was a pain! Just switched to a newer license that won't expire, so I'll get all of the updates on the thread from now on

I'll have to re-read through the thread later (in class atm), but it sounds like at least sabret00the would like a variable system to set up to do this?

I'll have to dig up the custom forms/code I made that used this function. Worked well, but the project went to ASP so I haven't looked at it in a while. Would've stayed in PHP if I knew how to radically customize the board templates.

Would you guys want me to work this up and release it as an "official" hack?
Reply With Quote
  #66  
Old 01 Dec 2004, 19:22
Undertoad Undertoad is offline
 
Join Date: Jan 2002
That would be great.
Reply With Quote
  #67  
Old 02 Dec 2004, 07:41
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Ok, just re-read everything and looked at my code. Looks like I made the code at the end of page 2 into a function, as well as a function that auto-creates forums.

To release this as a hack, I'd like to put some safety features in it, e.g. some way of making a simple admin CP module for it (NO CLUE), and a way to enter it into group policies so that to have access to it you have to be in a special group. Perhaps it would show up in the User CP if said user is in this secondary group?

So far, these are the requests for it that I have seen:
if posts on the forums in XX hours < XX then create thread
Don't quite understand that. Do you mean "If user X posts every y amount of hours then create a thread?

A form to add the threads you want and create the conditions under which they are added
What types of conditions would you like, or would you like them to be user editable conditions?

Comments please! I'm about to fall asleep, so tomorrow afternoon (EST) I'll post the code as a beta hack.
Reply With Quote
  #68  
Old 02 Dec 2004, 11:49
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
regarding the last bit, basically you'd have a form with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

wouldn't that form in the admincp by the safety measure btw?

Don't quite understand that. Do you mean "If user X posts every y amount of hours then create a thread?
what that means is that if theirs less than 100 posts on the forums in the past 5 hours then create a new thread in order to stimulate activity.
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #69  
Old 02 Dec 2004, 16:25
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by sabret00the
wouldn't that form in the admincp by the safety measure btw?

what that means is that if theirs less than 100 posts on the forums in the past 5 hours then create a new thread in order to stimulate activity.
Gotcha. Think I can release just the functions as a beta hack, then later work on the form code? I'd really only want to release it formally if I could make an admin module though.
Reply With Quote
  #70  
Old 02 Dec 2004, 17:26
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
what do you mean by admin module?
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #71  
Old 02 Dec 2004, 23:20
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
One of the side menus in the admin section, a dropdown accessible only within that area.
Reply With Quote
  #72  
Old 02 Dec 2004, 23:26
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
Originally Posted by Wired1
One of the side menus in the admin section, a dropdown accessible only within that area.
oh that i thought for the form it would've been admincp based anyway, it's not too hard to add a new page, the hardest bit comes when trying to add something to an existing page.
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #73  
Old 14 Jan 2005, 20:00
lowspeed lowspeed is offline
 
Join Date: Jun 2004
Question

I used this code, IT actually adds the thread but i get the following warning

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in \global.php on line 329

Warning: Invalid argument supplied for foreach() in \includes\functions.php on line 2177


Also if the subject in the forum ID is send again then it just exits it doesn't flow through the code.



Help

Thanks,
LOW LOW.


Originally Posted by StefanS
Hi,

just tested the following code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

works for me with 3.03 without problems ...
Reply With Quote
  #74  
Old 15 Jan 2005, 01:51
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
that's a problem with php5

before the require global.php add these lines:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #75  
Old 15 Jan 2005, 03:10
lowspeed lowspeed is offline
 
Join Date: Jun 2004
Thanks for the quick help !

I have a small follow up. I know how to get the threadid, but how would i post a reply to that ID ?

Do i put instead of the 0, you put the threadid (lets say 3212) ? example:

build_new_post('thread', $foruminfo, array(), 3212, $post, $errors);
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrative and Maintenance Tools Mass User Creation and Auto Posting alexgeek vBulletin 3.6 Add-ons 102 10 Mar 2015 07:34



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:07.

Layout Options | Width: Wide Color: