Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-02-2001 Last Update: Never Installs: 0
 
No support by the author.

While waiting for 2.0, I've started hacking PHPNuke to integrate with vBulletin. You can look at it at http://www.911pc.com It is very raw and nothing is guaranteed to work. I don't even know PHP, this is just a project to try to learn it a little.

[Edited by wajones on 01-20-2001 at 09:27 AM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-09-2001, 10:11 PM
Guest
 
Posts: n/a
Default

great stuff

works like a charm - http://animeboards.net/forums/news.php

one problem.. how come the time posted all says

by: [eva2000] on 01-01-1970 at 10:00 AM ?




[Edited by eva2000 on 01-09-2001 at 07:23 PM]
Reply With Quote
  #43  
Old 01-09-2001, 10:22 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by wluke
To limit the amount of characters shown you would do something like:
Code:
        if (strlen($message) > 160) {
	  $snippet = substr($message,0,160) . " (<a href=\"".$lastposturl."\">more...</a>)<br>";
	} else {
	  $snippet = $message;
        }
Then reference $snippet in the template instead of $message.
where in news.php file would you put this ?
Reply With Quote
  #44  
Old 01-10-2001, 01:03 AM
Guest
 
Posts: n/a
Default

Under:
$message=bbcodeparse($postinfo[pagetext],$forumid,1);
Reply With Quote
  #45  
Old 01-10-2001, 05:48 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by wluke
I just started playing with this and it works great for the purposes I need. I did modify it so it was more tightly integrated with vBulletin.

Full news system in a few lines of code.
This is WAY cool! Just what I needed! But why does my news page and yours show the time/date as 12-31-1969 at 06:00 PM?
Reply With Quote
  #46  
Old 01-11-2001, 03:35 AM
Guest
 
Posts: n/a
Default

Nathan,

I fixed the date/time problem at t.com.
for those who are interested, here's what i changed:
========
this:
$postdate=date($dateformat,$myrow[dateline]+(($timeoffset+$bbtimezoneoffset)*3600));
$posttime=date($timeformat,$myrow[dateline]+(($timeoffset+$bbtimezoneoffset)*3600));

into this:
$postdate=date($dateformat,$thread[dateline]+(($timeoffset+$bbtimezoneoffset)*3600));
$posttime=date($timeformat,$thread[dateline]+(($timeoffset+$bbtimezoneoffset)*3600));
========

mind you i really don't know php too well so this may not be the best way to do it, but it works.

[Edited by jklbruin on 01-11-2001 at 12:37 AM]
Reply With Quote
  #47  
Old 01-11-2001, 04:18 AM
Guest
 
Posts: n/a
Default

Yeah that is the way it supposed to be done. I must have missed those two rows when I was changing the variable names from the original to more vB-Like names.
Reply With Quote
  #48  
Old 01-12-2001, 12:50 PM
Guest
 
Posts: n/a
Default

I was going to attempt this with very little skill but looks like you guys have already done so with success and I like it! Is it possible for me to get in on this? I am already upgraded to v.1.1.5 so that should help. THanks again guys.
Reply With Quote
  #49  
Old 01-15-2001, 04:38 AM
Guest
 
Posts: n/a
Default

i've seen quite a bit of website with the same layout as this one

http://www.purecrap.com/nuke2vb/

any idea on how the layout was made?? like all of them has this poll on the right, news in the middle, sitemap links on the left (the news are showed the same way, all with the readmore and comment function) a search, and a login command......

since i'm going to be a webamster soon too..i'm just wondering if anyone could share their 2 cents and tell me how this is made?
Reply With Quote
  #50  
Old 01-15-2001, 08:55 AM
Guest
 
Posts: n/a
Default

Quote:
any idea on how the layout was made??
Powered by http://www.phpnuke.org

[Edited by PeF on 01-15-2001 at 05:57 AM]
Reply With Quote
  #51  
Old 01-15-2001, 10:06 PM
Guest
 
Posts: n/a
Default

oh cool! thx
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04678 seconds
  • Memory Usage 2,267KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete