vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Any-forum News hack (https://vborg.vbsupport.ru/showthread.php?t=33314)

Pete 02-01-2002 09:07 PM

I've bounced all over the board following this hack ;)

Just wondering if the idea of an additional field for a brief description of the news made it into the hack. This would make sloppy pasting of headlines output much nicer to the front page!

slideboxer 02-02-2002 01:43 AM

[QUOTE]Originally posted by slideboxer
I'm sure this is probably an easy fix but I'm simply no hacker - cut and paste? now that's a different story :) . I'm trying to include my welcome panel (from the welcome panel hack) in the main_newindex template. How do I get the welcome panel information to display in in this template the same way it does in the forumhome template?

Mutt 02-04-2002 10:54 PM

[QUOTE]Originally posted by bigmattyh
Hey Mutt,

I think I'll go back and see if I can include a different version of the truncation process -- one that's much more flexible. Maybe tonight, or tomorrow?

Matt

JJR512 02-06-2002 01:57 AM

Pete, not sure what it is you're looking for, I don't think I understood. ???

Just to let everyone know, I'm working on a little addition to this that lets you show a picture. Now you can already have a picture show up in the news item simply by using the img vB Code tag in the normal way. But what I don't like about that, personally, is that doing this, the text doesn't wrap around the image. So what I want to do is add another field to the create news page, where you can put in a URL to an image. If you leave it blank, nothing special happens. If you put a URL in, though, it causes new HTML code to go into the news item that is an <img ...> tag complete with wrapping instructions, probably align=left with the image on the left side, so that text will go around the right and bottom of the image.

Pete 02-06-2002 12:23 PM

I was doing some searching for this idea & landed in your thread. I'll try to explain what I had in mind, your idea from the original post was close:[QUOTE]instead of the thread being posted straight away, instead, first you are taken to another page with a textarea containing the contents of the post. In this second textarea, which contains what you just typed in the normal newthread screen, you can edit or change what you typed, and what you do here would get stored in an additional field added to the thread table, and this is what would get shown on the news page.

JJR512 02-08-2002 05:02 PM

Where is this additional text field supposed to go? Since you don't want to have a second page, I guess it's supposed to go on the newthread page, is that correct? My first impression of this idea is that if it's a new textarea on the newthread page, then you have to fill it out separately, whereas the way my hack works, on the second page, it's already filled out. You don't have to do anything to it, if you don't want; you could just submit it. Or if you want it to be shorter, you can shorten it manually, taking out whatever parts you don't want and leaving whatever you do want, which I feel is better than just being limited to the first xx-number of characters. (Sometimes I don't want the first few lines because it has redundant or unnecessary data.) It is what you leave in the textarea on the second page that goes to the front page.

slideboxer 02-08-2002 05:20 PM

Hey, JJR512, any news on getting the polls to work with this?

ptenthus 02-09-2002 11:58 AM

Polls don't work for anyone on my board since I put this hack in place. Everything else works fine, just anyone trying to post a poll goes to a blank white screen.

Ideas?

dlst 02-09-2002 01:58 PM

[QUOTE]Originally posted by ptenthus
Polls don't work for anyone on my board since I put this hack in place. Everything else works fine, just anyone trying to post a poll goes to a blank white screen.

Ideas?

JJR512 02-09-2002 04:26 PM

No, I haven't had that problem, so I don't know how successful I'll be trying to fix it.


All times are GMT. The time now is 02: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.01069 seconds
  • Memory Usage 1,732KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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