We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
  • Pages:
  • 1
[ C ] create a topic from shoutbox archive; save posts as a topic!
Topic Started: Jul 19 2010, 06:45 PM (1,396 Views)
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
Board Address: Private
Board Software: ZetaBoards
Description: create a topic from shoutbox archive

I'd like to take all the shoutbox archive posts like, say once a month, and put them into a topic. that way all shoutbox posts can be saved forever in an easliy readable format. possible?
Offline Profile Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
bump. is this even possible?
Offline Profile Goto Top
 
Holysavior-ZNR
Member Avatar
Member
[ *  *  *  *  * ]
not really. and even if it was it wouldnt be worth making it. sorry.
Offline Profile Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
it would be worth it to me.
Offline Profile Goto Top
 
Holysavior-ZNR
Member Avatar
Member
[ *  *  *  *  * ]
maybe to you yes. however it would be very very inefficient to code not to mention it would be pretty hard to make to get it the way you want.
Offline Profile Goto Top
 
Roby-ZNR
Member Avatar
Efficacy
[ *  *  *  *  *  * ]
Holysavior is right. To do it that way would be very difficult. However, an alternative could be that a button is placed on each archive page and when clicked it will post that page to a topic (or create a new topic). If you'd like that instead, it would be more realistic.

EDIT: Also, you could have it so when someone shouts, it will appear in the shoutbox as well as a topic.
Edited by Roby-ZNR, Jul 22 2010, 09:38 PM.
Offline Profile Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
actually, the first is pretty much what I wanted. sorry if my wording seemed to suggest otherwise.

and actually, the second suggestion (making each shout post to a topic) sounds even better, but I wouldn't have thought it was possible. I'd prefer that if you can do it.

thanks!
Offline Profile Goto Top
 
JohnSlider
Member
[ *  * ]
Yes, I would also prefer the second option if possible. My site discusses a television show together and we usually just use a thread because we want to be able to keep all the threads. If I could open the shoutbox every week for those two hours, and while they chatted back and forth it was also posting in a thread it would be absolutely spectacular. Am I understanding how this code works correctly?
Offline Profile Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
:)
Offline Profile Goto Top
 
Deleted User
Deleted User

Krupa
Jul 22 2010, 09:31 PM
Holysavior is right. To do it that way would be very difficult. However, an alternative could be that a button is placed on each archive page and when clicked it will post that page to a topic (or create a new topic). If you'd like that instead, it would be more realistic.

EDIT: Also, you could have it so when someone shouts, it will appear in the shoutbox as well as a topic.
thats an idea krupa, Id like that
Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
any progress on this?
Offline Profile Goto Top
 
Holysavior-ZNR
Member Avatar
Member
[ *  *  *  *  * ]
sorry totally forgot about this. if no one picks it up and i find some time i will whip it out for you.
Offline Profile Goto Top
 
Reedus-ZNR
Member Avatar
HOOTIE HOO!
[ * ]
thanks. :D
I assumed krupa was working on it.
Edited by Reedus-ZNR, Aug 6 2010, 07:52 PM.
Offline Profile Goto Top
 
RedBldSandman
Member Avatar
Asante sana Squash banana
[ *  *  *  * ]
Code:
 
<script type="text/javascript">
var forum_number = 000000;
var topic_number = 0000000;
function shoutPost(msg) {
var xc = $("#shoutxss").val();
$.ajax({
"type":"POST",
"url":main_url + "tasks/",
"data":{ "task":9, "msg":msg, "xc":xc, "last":lastMsgID },
"dataType":"json",
"success":function(json) {
$.ajax({
"type":"GET",
"url":main_url + "post/",
"data":{"mode":"2","type":"1","f":forum_number,"t":topic_number},
"success":function(d) {
$.ajax({
"type":"POST",
"url":main_url + "post/",
"data":{"mode":"2","type":"1","f":forum_number,"t":topic_number,"xc":$("input[name=xc]",d).val(),"qhash":$("input[name=qhash]",d).val(),"sd":"1","p":"0","ast":$("input[name=ast]",d).val(),"post":msg},
"success":function() {
shoutUpdate(json);
}
});
}
});
}
});
}
</script>
Create a topic and change forum_number to the id of the forum which contains the topic and topic_number to the id of the topic. Should work :)
Offline Profile Goto Top
 
Lout-ZNR
Member Avatar
He came, he saw...
[ *  *  * ]
Works a treat, I did make sure that the permissions were set so everyone could reply in the forum I set but not view or read.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1