Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
For vBull 2 - Generic vBull Comunity Page Details »
For vBull 2 - Generic vBull Comunity Page
Mod Version: 1.00, by (Guest)  is offline
Developer Last Online: Jan 1970 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 2
Released: 10 May 2001 Last Update: Never Downloads: 0
Not Supported  

Here is an easy setup to put a lot of Vbull content onto another page. You can use it to make an easy index page with some quick modification or just to access information quickly...

I realize that there are already a lot of similar hacks out there, but I felt like sharing.

You can see an example of this script here:
http://www.onandoffroad.com/GVCP/

You can get the files by downing them from the posts later in this thread where I have them in an attatched zip.

( I used to have the code posted here, but it has grown enough since then as to not fit as posted code anymore. )

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 10 May 2001, 01:06
Juan Juan is offline
 
Join Date: Nov 2001
Not Downloaded
Thank you very much for this script, it's exactly what I have been looking for.

Since no modifications are required to Vbulletin, makes it even better.

I've installed it and have just a slight problem with the line breaks.

Look here

Is there a code that can be inserted to correct this.
Reply With Quote
  #3  
Old 10 May 2001, 01:24
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
Not Downloaded
Moved to the appropriate forum. Next time please make sure it is posted correctly.
__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.
Reply With Quote
  #4  
Old 10 May 2001, 01:25
TigerLily TigerLily is offline
 
Join Date: Nov 2001
Not Downloaded
Looks great! I can't wait to implement this on my site, I've been wanting to do something like this without having to hack vB apart. Thanks for sharing!!!
TigerLily
Reply With Quote
  #5  
Old 10 May 2001, 02:27
Imperitus
Guest
 
Not Downloaded
Sorry for posting in the wrong forum, I'll do better in the future.

As for the line break issue, If you enable html code in your news forum and use <br> tags that will fix it.

I'm going to try and figure out how to automaticly parse text for line breaks and things, if I get that figured out I'll update the code for you.
Reply With Quote
  #6  
Old 10 May 2001, 03:19
Imperitus
Guest
 
Not Downloaded
Talking Added some enhancements.

I updated the code in the main file. It now will parse vbull image and link tags as well as line breaks etc... should make things look much nicer. Let me know if you have any problems.
Reply With Quote
  #7  
Old 10 May 2001, 03:48
Juan Juan is offline
 
Join Date: Nov 2001
Not Downloaded
Works and looks great.

I'll do a little more customisation and move all the news from Newspro onto the forums.

Thank you again.
Reply With Quote
  #8  
Old 10 May 2001, 03:52
Imperitus
Guest
 
Not Downloaded
Talking

Great, glad to help.

Let me know if have any problems with it.
Reply With Quote
  #9  
Old 10 May 2001, 09:33
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Not Downloaded
Question Question

Imp,

Questions..............

1) Do you have any idea how would I get a date to post above all the days news within the news.php?

I have this script working pretty good and getting much happier with it. I like it because I can make SSI calls out of my current shtml pages and create different forums and news.php's to catagorize what I need. If there was a way to have like some sort of command to say something like.....

Well... written in Perl looks like this.

if (!($Month_Day-11) ) { $DateExtension = 'th' }
elsif (!($Month_Day-12) ) { $DateExtension = 'th' }
elsif (!($Month_Day-13) ) { $DateExtension = 'th' }
elsif (!(($Month_Day-1) % 10)) { $DateExtension = 'st' }
elsif (!(($Month_Day-2) % 10)) { $DateExtension = 'nd' }
elsif (!(($Month_Day-3) % 10)) { $DateExtension = 'rd' }
else { $DateExtension = 'th' }

if (&isNewDate) {

This looks at the date and places the date above all the days posts within the same file and doesn't add the date above todays news unless the date has changed.


2) For some reason the formatting of the posts are not showing up as formatted. How would I go about having the same format come out as I have it in the forum posting?

3) Headline links? My current setup has an ssi call that holds a certain number of lastest article links. The links are automatically generated when a post is made. So if you post, it creates or changes 2 files, It changes the news file and the headlines file. The headline file links to the below thread. When you click on it, it takes you down the page to the post.

4) How would I add a printer version and email to a friend link to the news.php?

If I can figure these few things out, Newspro is going out the door.


Thank You
Hooper
__________________
Cheers,
Hooper
Reply With Quote
  #10  
Old 10 May 2001, 11:30
jojo85
Guest
 
Not Downloaded
Arrow

It seems like vbportal hehe
but good job man!
Reply With Quote
  #11  
Old 10 May 2001, 14:51
Imperitus
Guest
 
Not Downloaded
Hooper,

1)I don't know off hand, but I'll put that on my list of things to try and figure out.

2)Are you using the latest version after I updated it to include additionial formating?

3)Headline links would be easy... I could work that into an update within the next couple days...

4)Printable and email functions are beyond what I had even contemplated. but don't sound like they would be too hard. Although including features like that might start taking things beyond the simplicity I was aiming for.

So I guess I'd like to know, do people want this developed further? or don't you think things like vbportal realy fill the top end needs already? I personaly started this as an excuse to start learning php and mysql... not to try and suplant existing projects, and then figured I'd release what I had just to share...

jojo85, thanks. Yes it is sorta, a watered down vbportal wanabe. But it's MINE dag nab it all mine! Muhahahahaha!
Reply With Quote
  #12  
Old 10 May 2001, 15:05
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Not Downloaded
Imperitus,

Thank You for responding.

1) Please do..... Important.
2) No, It was't working for me with the template you had and all. I am using the one you sent me and SSI calling the file into my shtml. I couldn't figure out how to get just the html formatting out of the code in such away that it would function with your original script. If this can be done I'm all for it.
3) I hope so, I can help you sort this out.
4) Oh, we need this too.

"So I guess I'd like to know, do people want this developed further? or don't you think things like vbportal realy fill the top end needs already? I personaly started this as an excuse to start learning php and mysql... not to try and suplant existing projects, and then figured I'd release what I had just to share... "

Answer: Heck ya. vBportal is excellent, but way overblown for what I'm trying to do. The features I am mentioning are the important ones. The date above all of "the days" posts are not even done with vbportal that I know of. And of course you should further develope. Unless of course, you would rather leave the script as is. Id'e be grateful for what you wrote already if this is the case. There isn't that much more that I see. Just a few items. Then..... I personally will be much happier than that of my overblown newspro and hacks.

I think you will be impressed with what I am doing with your scripts. If I get everything going, I'll give you the link.

I think this is the way to do it. I was intending on waiting for a newspro hack because of the intense NP hacking I have, but to be honest, If These few issues can be sorted out, I believe I will be much more happier with what you are doing.
I downloaded and installed vBPortal. It is an excellent hack, however, for the most part it isn't what I am looking for. It has too many bells and whistles for what I am trying to accomplish. I would have to Unhack it to get what I need.

Thanks Imp,
Hooper
__________________
Cheers,
Hooper
Reply With Quote
  #13  
Old 10 May 2001, 15:56
Imperitus
Guest
 
Not Downloaded
Hooper,

If you get a chance please try updating your gvcp.php file with the updated one in this thread. Let me know if that helps with your formating.

I'll try tackling some of the other issues tonight or later this week.
Reply With Quote
  #14  
Old 10 May 2001, 15:57
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Not Downloaded
Donka.... and I'll do.
__________________
Cheers,
Hooper
Reply With Quote
  #15  
Old 10 May 2001, 18:11
Imperitus
Guest
 
Not Downloaded
Arrow

FYI this is where I'm testing changes as I go.
http://www.onandoffroad.com/GVCP/
Reply With Quote
Reply


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

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 02:48.

Layout Options | Width: Wide Color: