vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Articles 1.0.1 - [vB 3.0.1] (https://vborg.vbsupport.ru/showthread.php?t=65934)

smdani 12-02-2004 07:49 PM

Really really thanks Pit!!!
You looks like the creator of V3Article!!
Thanks again!

Paul M 12-02-2004 09:13 PM

Quote:

Originally Posted by Pitman
As for the guests to be able to post comments, there are permissions for that, but they don't work. I never noticed that, but if I get time to figure it out, I'll let you know. :)

The bug/problem is the same for all permission tests in arcade.php - he uses a NOT ("!") and "&" test - but does not enclose the test in brackets - for example ;

if (!$permissions['articlepermissions'] & CANFEATURE)

which should be

if (!($permissions['articlepermissions'] & CANFEATURE))

to work properly (anyone can make an article featured atm).

I just spent an hour or so fixing all these permission holes

:tired:

Pitman 12-02-2004 10:31 PM

Quote:

Originally Posted by Paul M
The bug/problem is the same for all permission tests in arcade.php - he uses a NOT ("!") and "&" test - but does not enclose the test in brackets - for example ;

if (!$permissions['articlepermissions'] & CANFEATURE)

which should be

if (!($permissions['articlepermissions'] & CANFEATURE))

to work properly (anyone can make an article featured atm).

I just spent an hour or so fixing all these permission holes

:tired:

Yeah Paul, I noticed that most of them are like if (!$permissions['articlepermissions'] & CANFEATURE)

There are a few in there that are right though, hopefully he will release a new version soon. :)

Qwest 12-03-2004 12:00 PM

OK for all those who answered my question (or tried to) No you cannot simply insert the Adsense code into the article because:

#1 It's Javascript, so for obvious reasons you don't want users able to submit JavaScript in the article body.

#2 It would also take some HTML tweaking that not all users would be familiar with trying to get the articles to show where they want them.

Soooo...

Since revenue sharing (IMO) will become the new "it" thing for webmasters I decided to allow my members to make money off of articles they write for my site.

See an example of how the articles look here

Basically what I've done is modified v3articles to insert members' Google Adsense ID into the google code displayed along with their article. Whenever a user writes an article their Adsense ID (an optional custom profile field) is inserted along with their channel ID in case they want to track the performance of their adds on my site. I don't do the 50/50 thing. They make ALL of teh money generated by clicks from their article. I make money with ads on other parts of the site and my own articles.

So what do you think?

Qwest 12-03-2004 12:04 PM

Suggestion: Will someone please recompile this download with the bug fixes in place?
I'd do it but I'm busy securing other parts of my site as well.

Oh yeah and I'm wondering why I never got an email alert from the AUTHOR notifying me of such a huge vulnerablity?

Because of all the bugs that are suddenly popping up I'm thinking of recoding this thing from the ground up using the code for snippets only.

flstreetscene 12-04-2004 02:31 AM

How do I remove this last part from the vBulletin Options page in the Admin CP after uninstallation;

http://www.floridastreetscene.com/up...zeno/trace.gif

It's all the way in the bottom.

Thanks.

deathemperor 12-04-2004 06:33 AM

Quote:

Originally Posted by Qwest
Suggestion: Will someone please recompile this download with the bug fixes in place?
I'd do it but I'm busy securing other parts of my site as well.

Oh yeah and I'm wondering why I never got an email alert from the AUTHOR notifying me of such a huge vulnerablity?

Because of all the bugs that are suddenly popping up I'm thinking of recoding this thing from the ground up using the code for snippets only.


well why don't you just edit it like the instrucstion ? isn't it very simple ?

I don't think John knows this already, if yes he should have given a official fix.

or maybe we should email him.

Guy G 12-04-2004 02:24 PM

Will thos work on 3.0.3?

pingme 12-04-2004 04:39 PM

Quote:

Originally Posted by Zorobz
Will thos work on 3.0.3?


Yes, I am using it with 303 :)

Guy G 12-04-2004 04:43 PM

thanks pingme :)
any side notes? fixes i would need for it?


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