vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Logician NEWS: Drag Any Message to Your Main Page (https://vborg.vbsupport.ru/showthread.php?t=39278)

Logician 09-20-2003 08:59 AM

Quote:

Originally Posted by copyninja
o damn sorry to double post but ... my concern is not post count of these boards lol neways...

i would like to change the format of the date in 2 ways ..

i would delete the part that says "Past Date:" because i dont need that part...

also i would like the date to read (random date) .."9/18/2003 at 'time'"

ALSO this right here may be asking alot lol so if it is you dont have accomodate this request, anyway you think you make it so that the time is in a 12hour format and then you can use am or pm ...

edit phpheader.php, find the line:
PHP Code:

return date ("Y-d-m H:i:s"mktime($saat+$timeset$dakika$saniye$ay$gun$yil)); 

Change the "Y-d-m H:i:s" part (only that part!) according to the info here:
http://tr.php.net/date

copyninja 09-20-2003 03:45 PM

thank you

NecroSocial 03-03-2004 09:40 PM

Logician I'm trying to get the news table to match the design specs for my site's main page. I know I can get the text to layout properly however I'd like to have the option of including a graphic along-side the intro text (see the attached image for an example of what I'm trying to do). I had the idea of making a new vbcode (something like [newsimage={file}]) that could be included in news posts. However I'd like to know how to get your script to pick-up the file so I could drop it into my table as one of the news variables (££nImage££ or some such). Any ideas on how this could be accomplished?

Logician 03-04-2004 06:03 AM

Quote:

Originally Posted by NecroSocial
Logician I'm trying to get the news table to match the design specs for my site's main page. I know I can get the text to layout properly however I'd like to have the option of including a graphic along-side the intro text (see the attached image for an example of what I'm trying to do). I had the idea of making a new vbcode (something like [newsimage={file}]) that could be included in news posts. However I'd like to know how to get your script to pick-up the file so I could drop it into my table as one of the news variables (??nImage?? or some such). Any ideas on how this could be accomplished?

If you are going to use a fixed image in all news items, you can edit the new HTML code which is in phpheader.php (variable $newstablesample).

But if you want to insert a different image per news, this wouldn't easily be possible without tweaking with the hack structure.

NecroSocial 03-05-2004 03:38 PM

Yeah I'm looking to include a different image per post. I'm fully willing to tweak if you're up for showing me what to tweak. :)

seattlecane 03-07-2004 02:29 AM

very nice, solves my problems

BlackxRam 03-28-2004 08:30 AM

Is there a Vb3 version of this in the pipe!?

Logician 03-28-2004 12:32 PM

Quote:

Originally Posted by BlackxRam
Is there a Vb3 version of this in the pipe!?

nope and unlike my other hacks I'm not yet sure if I'll port this over. If someone is eager to work on this hack's VB3 porting, he can contact me.

higmet 04-02-2004 01:29 PM

the old hack works fine on my vb3 testboard

MeTaL_oRgY 04-07-2004 05:26 PM

Hey logician! How ya doing??.... well, I installed this and it works perfectly, I just need one more thing though... I want the avatar of the news poster to appear on the index of my site... is this possible withouth modifying the SQL?... if no, then its just fine :) I just wanted to ask :)

Thnx for another GREAT hack!


All times are GMT. The time now is 01:58 AM.

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.01196 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete