vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbArticles by Mary (https://vborg.vbsupport.ru/showthread.php?t=136196)

sandrodz 02-08-2007 06:48 AM

Quote:

Originally Posted by MicroHellas (Post 1177272)
What do you mean by saying "if article's number isn't real"? That someone instead to click a link, he is typing by hand an article's number on the browser's bar? If yes, then sorry but this members isn't using your site but he is playing with you site, so a database error to you to know who is playing with you and see his IP is a good way I think. Otherwise there in no way to get this error. All links are working fine getting the right article nbr and you never see an error like this.
And as I can understand from your example with article nbr 200000000, you're also playing with me.

that's not always true... suppose u have article, and google indexes it... than u decide to remove article, and google sends visitor to ur article that doesn't exist... than he'll receive error messege and never ever come back to ur site!

Lionel 02-08-2007 06:58 AM

Same thing is happening to me. Google indexed a lot of test articles, which I deleted and I am getting tons of those database errors. An error message would have been more elegant and more professional for the site.

katilkuzu 02-08-2007 07:06 AM

great (: installed

MaryTheG(r)eek 02-08-2007 08:06 AM

Quote:

Originally Posted by Lionel (Post 1177354)
Same thing is happening to me. Google indexed a lot of test articles, which I deleted and I am getting tons of those database errors. An error message would have been more elegant and more professional for the site.

Fixed and Zip file updated. Just upload vbarticles.php and re-import product-vbarticles.xml

Lionel 02-08-2007 08:08 AM

Thanks Maria. I am sure you'll put it also in the premium version. So I am looking forward for next update on that.

katilkuzu 02-08-2007 08:23 AM

is it posiblle to show articles on forumhome?

MaryTheG(r)eek 02-08-2007 08:42 AM

Quote:

Originally Posted by katilkuzu (Post 1177399)
is it posiblle to show articles on forumhome?

I've developed around 10 info blocks to be used with vBadvanced but these are commercial ($12.50 all blocks).

sandrodz 02-08-2007 11:07 AM

Quote:

Originally Posted by MicroHellas (Post 1177395)
Fixed and Zip file updated. Just upload vbarticles.php and re-import product-vbarticles.xml

perfect, thx!

firstrebel 02-08-2007 12:41 PM

I have just installed this and went to upload the first test article - got a blank page. I am in the 'admin' usergroup and all permissions are set to 'Yes'. I had previously created two new categories appropriate to our forum then deleted the ones it came with.

Bob

MaryTheG(r)eek 02-08-2007 01:42 PM

Quote:

Originally Posted by firstrebel (Post 1177521)
I have just installed this and went to upload the first test article - got a blank page. I am in the 'admin' usergroup and all permissions are set to 'Yes'. I had previously created two new categories appropriate to our forum then deleted the ones it came with.

Bob

Hello Bob,

You can create unlimited categories, or edit/delete the existings. It's not a problem. But about the blank page I want the installation URL to check it out. Nobody reported a problem like this.

firstrebel 02-08-2007 01:49 PM

I'll PM you my login details.

Bob

Allan 02-08-2007 01:49 PM

Maria, do you think your hack work with the next version to vBulletin ?

MaryTheG(r)eek 02-08-2007 02:08 PM

Quote:

Originally Posted by firstrebel (Post 1177557)
I'll PM you my login details.

Bob

Bob,

Have you touched the templates? Seems that the full template vbarticles_new is missing that's why if you try to see the code of the blank page there is nothing.

MaryTheG(r)eek 02-08-2007 02:10 PM

Quote:

Originally Posted by Allan (Post 1177558)
Maria, do you think your hack work with the next version to vBulletin ?

Why not? I'm using only 4 functions for vb. All others are normal PHP functions or my functions.:)

firstrebel 02-08-2007 02:14 PM

I haven't changed any templates, and vbarticles_new is in ACP and not red or yellow.

Bob

MaryTheG(r)eek 02-08-2007 02:31 PM

Quote:

Originally Posted by firstrebel (Post 1177580)
I haven't changed any templates, and vbarticles_new is in ACP and not red or yellow.

Bob

Open with a text editor the file: vbarticles.php
If your editor has line numbers goto to line: 749 otherwise search for
Code:

  eval('print_output("' . fetch_template('vbarticles_new') . '");');
Can you find it?
If yes and if it's exactly as I wrote above then something in your site's configuration is going wrong.

Allan 02-08-2007 02:35 PM

Quote:

Originally Posted by MicroHellas (Post 1177575)
Why not? I'm using only 4 functions for vb. All others are normal PHP functions or my functions.:)

Hooo, great Maria, thank your for your answer and big thanks for this hack :)

Allan 02-08-2007 02:37 PM

One question, ,it's possible for the next version, to add function for rename the file "vbarticles.php" ?

MaryTheG(r)eek 02-08-2007 02:45 PM

Quote:

Originally Posted by Allan (Post 1177591)
One question, ,it's possible for the next version, to add function for rename the file "vbarticles.php" ?

eg something like ... vbAllan.php ?:D ok.. but not in the next version.

firstrebel 02-08-2007 02:50 PM

Quote:

Originally Posted by MicroHellas (Post 1177585)
Open with a text editor the file: vbarticles.php
If your editor has line numbers goto to line: 749 otherwise search for
Code:

  eval('print_output("' . fetch_template('vbarticles_new') . '");');
Can you find it?
If yes and if it's exactly as I wrote above then something in your site's configuration is going wrong.

Yes that is correct. I have checked the installation and it is as per the instructions. How else can the configuration be wrong?

Bob

MaryTheG(r)eek 02-08-2007 03:25 PM

Quote:

Originally Posted by firstrebel (Post 1177602)
Yes that is correct. I have checked the installation and it is as per the instructions. How else can the configuration be wrong?

Bob

Really I don't know. I've checked in your site (seeing browser's status bar) that the url for "Add an Article" is correct. In your php file there is the print_output to the correct template and as you told me this template exists. Actually the problem is the template. If you see at your bowser address bar you're redirecting the "new article" even if you're getting a blank page. If you right click and see the page's code you'll see nothing other than headers... so for some reason your browser can't read correctly the template, or vB dosen't sends correct information to the browser.

Last try even childish question of me. Maybe you've the template there. Could you please open it and see if there is code inside? Maybe something went wrong during imporing the template.

firstrebel 02-08-2007 03:30 PM

It looks OK.

Bob

MaryTheG(r)eek 02-08-2007 04:04 PM

Quote:

Originally Posted by firstrebel (Post 1177631)
It looks OK.

Bob

The only that I can say is to try a fresh installation. Nobody reported a problem like this. If you do a new installation, before change any category try to add an article.

TheBlackPoet 02-08-2007 04:52 PM

I LOVE YOU MICRO!!!!!! the editor made all the difference...!!!! you are the best at your craft....

Allan 02-08-2007 05:07 PM

Quote:

Originally Posted by MicroHellas (Post 1177597)
eg something like ... vbAllan.php ?:D ok.. but not in the next version.

lol, no i thought think to tutorials.php or glossaire.php for example ;) (pity)

firstrebel 02-08-2007 05:39 PM

Quote:

Originally Posted by MicroHellas (Post 1177648)
The only that I can say is to try a fresh installation. Nobody reported a problem like this. If you do a new installation, before change any category try to add an article.

Complete uninstall then fresh reinstall. Same problem.

Bob

bts420 02-08-2007 06:32 PM

Has anyone installed version 1.5 and actually gotten it to work. All the control in the editor arebasically grayed out and I can't actually create the body of my article.

firstrebel 02-08-2007 08:18 PM

Quote:

Originally Posted by firstrebel (Post 1177722)
Complete uninstall then fresh reinstall. Same problem.

Bob

Doh!!! Typo problem. I mis-spelled the directory 'editor' as 'editior'. All working OK now. Nice mod, sorry if I caused a panick.

Bob

MaryTheG(r)eek 02-10-2007 09:32 AM

I apologize for my mistake but I've forgotten to include editor's stylesheet in my templates which causes problems on it (eg inactive buttons etc). Also maybe this caused incompatibilities with some browsers.

Zipfile updated

maaref 02-10-2007 10:14 AM

Thanks Mary
I liked your mod, I would like to buy the commercial one...but I have some question first?

- in the commercial version there is abiity to enable/disable the downloads audio and video, if I disabled the downloading, can people who are using download manager like DAP download files although the function is disabled?

- can the mod handle upload large files like ( >100 MB)?

- can I change the screen size of videos or it is fixed?

aacircle 02-10-2007 11:42 AM

Ok, I'm undecided now between this product and WebTemplates.

WebTemplates is free and been around longer, but Mary's product looks snazzier. Has anyone looked at both offerings? Are both SEO friendly?

I couldn't find the answer, but does this product allow replies to articles?

Thanks.

firstrebel 02-10-2007 12:50 PM

I like this so much I upgraded to the commercial (paid) version. :up:

Bob

pkallberg21 02-10-2007 04:49 PM

Hey!

This is a great mod! Although I am having a minor problem with it...
When I use the English language, everything is perfect, but when I switch to Swedish, the date becomes messed up, as you can see in this picture: http://img123.imageshack.us/img123/3514/fsdfakh5.jpg

Does anyone have any idea of how I could fix this? Thanks a lot!

MaryTheG(r)eek 02-10-2007 04:55 PM

Quote:

Originally Posted by pkallberg21 (Post 1179245)
Hey!

This is a great mod! Although I am having a minor problem with it...
When I use the English language, everything is perfect, but when I switch to Swedish, the date becomes messed up, as you can see in this picture:

Does anyone have any idea of how I could fix this? Thanks a lot!

I've an idea:) Send me your vbarticles.php file to modify it. I don't know why, but even if I'm using the normal vb function:
Code:

vbdate($vbulletin->options['dateformat'], $top10article['postdate'], '', '');
In some French installations and now in Swedish, appears this problem. My email is here (10/02/2006 is ok format for you?)

Aaron RV 02-10-2007 05:34 PM

How to update vbarticles?

Legende 02-10-2007 06:08 PM

is this working with vBulletin 3.5.4?

MaryTheG(r)eek 02-11-2007 04:02 AM

Quote:

Originally Posted by Legende (Post 1179295)
is this working with vBulletin 3.5.4?

Well, even if I'm now working on 3.6.4 I'm using exactly the same method of coding as when I started with 3.5.4. I can't guarantee that it will work but for sure is impossible to crash your system.

I'll appreciate if you test it and let me know the results. Unfortunatelly I've no any way to test it in other version.

Maria

MaryTheG(r)eek 02-11-2007 04:03 AM

Quote:

Originally Posted by Aaron RV (Post 1179277)
How to update vbarticles?

Download new zipfile, unpack and just import product-vbarticles.xml

Legende 02-11-2007 06:31 AM

Quote:

Originally Posted by MicroHellas (Post 1179654)
Well, even if I'm now working on 3.6.4 I'm using exactly the same method of coding as when I started with 3.5.4. I can't guarantee that it will work but for sure is impossible to crash your system.

I'll appreciate if you test it and let me know the results. Unfortunatelly I've no any way to test it in other version.

Maria

hya ;)

tried to install the xml and got this error:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Template Group', 'template_groups', '$only[\'vbarticles\'] = \'vbarticles\';', 'vbarticles');

MySQL-Fehler : Unknown column 'executionorder' in 'field list'
Fehler-Nr. : 1054
Datum : Sunday, February 11th 2007 @ 09:31:06 AM
Skript : http://www.domain.de/admincp/plugin.php
Referrer : http://www.domain.de/admincp/plugin.php?do=productadd
IP-Adresse : 12.34.56.78
Benutzername : Username
Klassenname : vb_database

MaryTheG(r)eek 02-11-2007 07:55 AM

Quote:

Originally Posted by Legende (Post 1179719)
hya ;)

tried to install the xml and got this error:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Template Group', 'template_groups', '$only[\'vbarticles\'] = \'vbarticles\';', 'vbarticles');

MySQL-Fehler : Unknown column 'executionorder' in 'field list'
Fehler-Nr. : 1054
Datum : Sunday, February 11th 2007 @ 09:31:06 AM
Skript : http://www.domain.de/admincp/plugin.php
Referrer : http://www.domain.de/admincp/plugin.php?do=productadd
IP-Adresse : 12.34.56.78
Benutzername : Username
Klassenname : vb_database

Could you please follow the steps:
  1. Uninstall product vbarticles
  2. Open product-vbarticles.xml
  3. Search for <plugin active="1" executionorder="5">
  4. Replace it with <plugin active="1">
  5. Re-import product-vbarticles.xml


All times are GMT. The time now is 05:18 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.02486 seconds
  • Memory Usage 1,839KB
  • 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
  • (3)bbcode_code_printable
  • (21)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
  • (40)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