vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Import Unread News from a Forum (https://vborg.vbsupport.ru/showthread.php?t=115179)

VTXCafe.com 05-11-2006 07:15 AM

Well, I tried again:

Fatal error: Call to undefined function: array_combine() in /public_html/global.php(359) : eval()'d code on line 139

Still not working.

antialiasis 05-11-2006 09:50 AM

You're using PHP 4.x. Follow the special instructions in the first post about editing the Import News plugin on global_start.

(I added information about that error message, too, for others who don't know what PHP version they're using - better play it safe.)

reteep 05-11-2006 10:50 AM

This mod is great, works here!

rmxs 05-11-2006 11:24 AM

FINALY i unistall the global anouchements i install you hack and i unstall again tha GLOBAN anouch...

And everything Work Fine ;)

antialiasis 05-11-2006 12:47 PM

Quote:

Originally Posted by rmxs
FINALY i unistall the global anouchements i install you hack and i unstall again tha GLOBAN anouch...

And everything Work Fine ;)

I'm glad it's working for you now.

Incidentally, thank you for posting that. It made me realize why I was having problems with something else: the order in which plugins are loaded depends on the time of installation. There must have been some plugins in Global Announcements that had to be loaded after some in my hack for some reason, which is why you were having those problems.

Another thing to know for future hacks...

rmxs 05-11-2006 02:35 PM

can you tell me now how i fix this :)

Uncached templates: custom_newsbit (3)

The number (3) change if there is more news now there is 3

antialiasis 05-11-2006 02:59 PM

Oh, right, I forgot to cache that one.

Just add

PHP Code:

$globaltemplates[] = 'custom_newsbit'

to the bottom of the Cache import news template plugin on cache_templates.

Updated XML will be up soon; I'm going to add a couple of hack features anyway so I'll let it wait until I'm done with that.

rmxs 05-11-2006 03:05 PM

I have already add this i fount a tutorial about I waitng for more Features :)

antialiasis 05-11-2006 03:56 PM

Version 2.2 up, with a couple of additions and the template cache fix.

Any feature suggestions would be very much appreciated. I like working on this thing.

rmxs 05-11-2006 04:37 PM

nice.. :)

Suggestion : in new version you add all news created before the user registered will now count as read for that user..

byt now with this all new users dont know the news about forum...

i install it for that reason NEW Members READ THE NEWS :)

I thing it better to cutoff more than 5 and with More Link the BLOCK LOAD THE REST (if there is more news..)

I keep for the time the old Version new users must read the NEWS... ;)

Keep going


All times are GMT. The time now is 09:15 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.00996 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (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