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)

dlst 02-09-2002 05:20 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?

slideboxer 02-09-2002 09:07 PM

Awesome, this worked. Thanks.

dlst 02-09-2002 11:20 PM

[QUOTE]Originally posted by slideboxer
Awesome, this worked. Thanks.

JJR512 02-10-2002 01:24 AM

UPDATE

I have updated this hack. Updates include a fix to the poll vs. news issue which goes a bit beyond what's just been discussed...Now you will be able to BOTH post a poll AND a news item at the same time! If you check both boxes, first you are redirected to the poll setup page, you do that as normal, then after submitting the poll you are redirected to the news item setup page, which again is done as normal. The new redirect scheme does work correctly now if you ONLY selected to post a poll, ONLY selected to post a news item, or selected BOTH. (The correct action or result will happen.)

I've also built in the image feature I mentioned earlier.

This news is FYI only at this time, as I am not releasing the updated hack just yet. I have only just completed testing of the new redirection and poll+news system; I still need to document it. Additionally, I am re-writing all of the variables used so that they more closely resemble the style of vBulletin (the $xxx[yyy] style). It is my hope that once I get all of that done, that we can get this out of beta and make it an official release. :)

dlst 02-10-2002 01:33 AM

I am SO ready to help beta test your new implementation... even, *sigh* help write/proof-read documentation (do you hate writing it as much as everyone else?). Whatever I can do to help.

Did I mention? THANKS for this hack.

JJR512 02-10-2002 05:58 AM

dlst, check your PMs! ;)

Dark_Wizard 02-11-2002 04:19 PM

I would love to help test this as well as I would like to port it to phpportals. Please let me know if your accepting any beta testers. TIA!

JJR512 02-12-2002 01:41 AM

OK, you have a PM too!

Just as an update to everyone else, unless I hear about any problems from the few pre-release beta testers of the new version, I will be publically releasing it in a few days. :)

pdaGuy 02-13-2002 05:42 AM

JJR512,
this is the best hack I've seen to date!! Congrats!
I'm setting up my site with it and I'll soon make a post here for everyone to see it.

I have a small problem though!
How can I use the include or require statement on the homeindex.php?
What I need to do is include a Poll (not a thread with a poll) on the homeindex.php
But I can't use php code on the vBulleting templates. Any ideas?

FYI the Poll that I want to include on the homeindex.php is a separate poll script and in its readme file it says to add the following on the page.
[QUOTE]<?php
$newest_poll = 1;
require("http://www.mysite.com/poll/booth.php");
?>

squawell 02-13-2002 09:42 AM

JJR512 see the attch file that's my problem!!

i want the blank part show something where should i edit??

and sorry use ur forum's pic to do my example!


All times are GMT. The time now is 11:23 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.01109 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)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