The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#22
|
|||
|
|||
Okay this one is a pretty easy fix.
Open up news.php and find the following lines... $time = mysql_result($result,$i,"dateline"); $time2 = unixtojd($time); $time3 = jdtogregorian($time2); and replace them with... $time = mysql_result($result,$i,"dateline"); $time3 = date("M d Y",$time); That should do it. enjoy. If you want information on how to format the time to show up different, look here: http://www.php.net/manual/en/function.date.php |
#23
|
||||
|
||||
Imperitus.
You sent me the code for posting news in a private forum and then having the comments link point to a public forum. Can you either send this to me again or post it. Forgive me I redid the machine and forgot to backup the email. Thanks Hooper |
#24
|
|||
|
|||
Actualy I don't think I ever did that exactly. What I did was send you information on how to make a forum moderated so that only admins and moderators can make new threads (and thus news items that will be ripped to the news page with this script), but where anyone can reply to news posts.
Thus all the news is posted to a thread and anyone can read and reply but not start new news threads. The selective moderation information is here: http://www.vbulletin.com/forum/showt...threadid=15904 Actual, I have made several changes and small tweeks... if you go to the site I'm working all this stuff out for: http://www.onandoffroad.com you can see what I'm doing... I have lots of stuff posting to the home page, and I'm using the user database for a user register... ( go to trucker registery ), All of the stuff I'm doing requires no changes to the database and minimal changes to vbull, So in the event of a reinstall things should be easy to keep right. Any comments? Just curious. BTW it's built for IE anything else might look funky... |
#25
|
||||
|
||||
Wow... Nice site. Looks fantastic.
I guess I misunderstood what the fix was you sent. I was wanting to post in a private forum, and then have the thread create the news like it does and the comments link to a public news forum. So I guess when you make the post in the private forum, It also makes the post in the news forum for others to make the comments on. Reason? It would be real nice for administrators to have private access to the forums they post news from. Then they could go back there, add new news and not worry about someone posting a reply to that thread. Many other reasons also, that is the main one. The Site looks superp though. I like what you are doing. Hooper.... |
#26
|
|||
|
|||
I see what you're asking but I don't know that I can help with that exactly. Sorry.
To do what you want would require a custom version of the newpost.php vbull files... so far my php skills are not up to tackliing something so complex. This news script was my first php / mysql project. |
#27
|
||||
|
||||
Imperitus,
Well cheer up I'm pretty good with html, but mysql and php are all new to me. I think it's great what you've done so far. I did get your script to work and everything. What I have mentioned above is just an Idea. I sure don't know of any hacks that will do this at all. Complicated I'm sure. Just throwing it out there. Thanks for your contribution, and your work. Oh, and thank you for the time fix. Hooper |
#28
|
|||
|
|||
No prob. BTW if you haven't seen it yet check this out...
http://vbulletin.com/forum/showthrea...848#post103848 |
#29
|
||||
|
||||
Ya and it looks as if you post in the wrong forum again you are going to get something whacked off.....lol
|
#30
|
|||
|
|||
Yeah well, I figure as long as I'm being nice and trying to help other people out they'll not chop my hands off, I mean how could I fix my scripts then?
|
#31
|
|||
|
|||
I have moved completely from Newspro to this script. It works like a dream and it's very easy to configure.
I use it HERE The site is in 4 other languages and the script can be used to pull news from different news forums in other languges. I cannot thank you enough for this script, for me it's the ideal news program. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|