Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbNews by Mary Details »»
vbNews by Mary
Version: 1.2.0, by MaryTheG(r)eek MaryTheG(r)eek is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 04-05-2007 Last Update: Never Installs: 86
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vbNews
News Publishing & Book Library System
by Mary
http://www.MadeByMary.com

REMOVED BY THE AUTHOR

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 04-07-2007, 04:25 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wulfnoth View Post
A very cool hack.
But I have a little problem. If I choose to save the css-stylesheet in vbulletin_css the vbnews.php dosn't works correct. Is their any soluccion for this problem?

Sorry for my bad english, but I had slept in school for the last 10 years...
I know how to solve this problem but I'm still trying to find where the variable $style[css] is hidden This variable when css is in filesystem adds this line of code at header:
Code:
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-2097d366-00001.css" id="vbulletin_css" />
This link must be change to:
Code:
<link rel="stylesheet" type="text/css" href="http//www,domain.com/forums/clientscript/vbulletin_css/style-2097d366-00001.css" id="vbulletin_css" />
When I'll find it, I'll be back Please note that this applies only to those installations where vbnews.php is not on your forum directory.
Reply With Quote
  #13  
Old 04-07-2007, 04:53 AM
X Quiz X Quiz is offline
 
Join Date: Apr 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coooool, I like it!!

I will try it today!!

*install*
Reply With Quote
  #14  
Old 04-07-2007, 05:03 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MicroHellas View Post
... but I'm still trying to find where the variable $style[css] is hidden...
The $style variable is set near the style_fetch hook so you could use the next hook:
Code:
$style['css'] = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $style['css']);
Reply With Quote
  #15  
Old 04-07-2007, 05:04 AM
Rican Rican is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack... however, I am getting this error when trying to upload an image with an article:

Warning: move_uploaded_file(./vbnews/tmp/phpZNIVHh.jpg): failed to open stream: No such file or directory in /vbnews.php on line 444

Warning: move_uploaded_file(): Unable to move '/tmp/phpZNIVHh' to './vbnews/tmp/phpZNIVHh.jpg' in /vbnews.php on line 444

help?
Reply With Quote
  #16  
Old 04-07-2007, 05:15 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rican View Post
nice hack... however, I am getting this error when trying to upload an image with an article:

Warning: move_uploaded_file(./vbnews/tmp/phpZNIVHh.jpg): failed to open stream: No such file or directory in /vbnews.php on line 444

Warning: move_uploaded_file(): Unable to move '/tmp/phpZNIVHh' to './vbnews/tmp/phpZNIVHh.jpg' in /vbnews.php on line 444

help?
Have you CMOD 777 dierectories /photos, /tmp (under vbnews) and /thumbs under /vbnews/photos ?
Reply With Quote
  #17  
Old 04-07-2007, 05:32 AM
Rican Rican is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, even double checked to make sure I did...
Reply With Quote
  #18  
Old 04-07-2007, 05:41 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rican View Post
Yeah, even double checked to make sure I did...
That's 100% error message of file permissions to write. Please note that even if I post it here just yesterday the mod is already in 1.2.0 version which means that has been tested a lot and all similar errors were depending on file permissions.
Have you follow the directory structure right? eg:
vbnews.php
and directory vbnews must be on the same level. Also variables for paths and URL in vbnews.php have been setup correctly?
Reply With Quote
  #19  
Old 04-07-2007, 05:46 AM
Rican Rican is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright mate, got it sorted... i had moved the vbnews.php file and forgot to update the urls in the file...

now, i just gotta get $40 so i can embed some videos haha...
Reply With Quote
  #20  
Old 04-07-2007, 06:08 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie View Post
The $style variable is set near the style_fetch hook so you could use the next hook:
Code:
$style['css'] = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $style['css']);
Thank you Calorie for pointing me to the right way. I always appreciate your help. Actually you're the only one that replies to me.

Maria
Reply With Quote
  #21  
Old 04-07-2007, 06:13 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wulfnoth View Post
A very cool hack.
But I have a little problem. If I choose to save the css-stylesheet in vbulletin_css the vbnews.php dosn't works correct. Is their any soluccion for this problem?

Sorry for my bad english, but I had slept in school for the last 10 years...
There are 2 ways to solve this problem:
  • Open product-vbnews.xml and at after line 1532 add:
Code:
<plugin active="1" executionorder="10">
   <title>Fix CSS Path</title>
   <hookname>cache_templates</hookname>
   <phpcode><![CDATA[
        $style['css'] = str_replace('href="clientscript', 'href="' . $vbulletin->options['bburl'] . '/clientscript', $style['css']);
      ]]></phpcode>
</plugin>
....or....
  • Download again zip file and re-import product-vbnews.xml . Please dont forget to check "Overwrite".
Zip File Updated

Many thanks to Calorie for pointing me to the right way.
Reply With Quote
Reply


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 11:17 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.04560 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_onlinestatus
  • (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
  • postbit_imicons
  • 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