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)
-   -   vB Easy Archive - Search Engine Spiderable Hack! (https://vborg.vbsupport.ru/showthread.php?t=83439)

BamaStangGuy 08-12-2005 08:15 PM

I get invalid threads as well when logged out or logged in as a non Admin or supermod! Which makes this hack basically pointless right now :devious:

monstergamer 08-13-2005 09:44 PM

Quote:

Originally Posted by BrentWilson
I get invalid threads as well when logged out or logged in as a non Admin or supermod! Which makes this hack basically pointless right now :devious:

hi there Brent, i had the same problem so i did a little edit in the TOPIC file
find
PHP Code:

if ((!$thread['visible'] OR $thread['isdeleted']) AND !can_moderate($thread['forumid']))
{
    
archive_output('Invalid thread!');


and take it up and upload again, tell me if that works for you like it did for me

BamaStangGuy 08-17-2005 08:20 PM

Ok cool that worked.

Now how do I hide my private forums from people that do not have permission to view them?

I know they can not access them but I do not want them to be seen period

BamaStangGuy 09-08-2005 07:47 AM

Uncached templates: bbcode_quote (3)

Get this when viewing an thread

and I still would like to know why my guests and regular members can see my private forums on the archive forum page.

They can not access them once they click the link but they see they exists.

This is not good

fsw 09-08-2005 04:38 PM

Quote:

Originally Posted by krohnathlonman
So far I've found where you've hard coded /forum/ so the people like me have to find wherever you've hardcoded that and insert .php


Quote:

Originally Posted by Xenon
i think i just hardcoded it in config.php

Change Line 59 index.php to this, and then you have.

PHP Code:

            $forumbits .= '<li /><a href="' $archive_options['archiveurl'] . '/'.$archive_options['forumfile'].'/' $forum['forumid'] . '-1.html">' $forum['title'] . '</a>'


fsw 09-08-2005 04:42 PM

Also, on your mod to do whatever on extensions.

Why?

Code:

Options +MultiViews

In .htaccess or httpd.conf will make it so you can have

Code:

http://example.com/_Hi_I_am_a_file_.php
and call it like this

Code:

http://example.com/_Hi_I_am_a_file_/and/I/am/lovely/little/variables/that/get/parsed/out/grabing/PHP_SELF/and/I/can/even/still/do/this?userid=1

fsw 09-08-2005 05:00 PM

You can use the above in any script, with out changing the script, by instead of a url shaped like

Code:

https://vborg.vbsupport.ru/newreply.php?do=newreply&noquote=1&p=769734
you instead shape it like

Code:

https://vborg.vbsupport.ru/newreply/do/newreply/noquote/1/p/769734
and then on the top of each script

PHP Code:

<?
$vars=str_replace("/forum/newreply/","",$PHP_SELF);
$x=explode("/",$vars);
for ($i=0;$i<count($x);$i=$i+2) {
$var=$x[$i];
$val=$x[($i+1)];
$$var=$val;
}

?>


and you have your variables, simple

I used to run something like that on vb 2 back in the old day before the internet.

fsw 09-08-2005 05:03 PM

(note:I know there is like 1200 better ways to write the above, better methods, etc - but I perfer to stick with as few commands in my toolbox as possible, and master what I can do with them, instead of trying to use the whole scope of the language, and master nothing)

xtreme-mobile 10-02-2005 09:18 AM

when i click a thread in the archive i get page cannot be displayed any ideas what ive done wrong?

cheers

xtreme-mobile 10-02-2005 09:32 AM

ok got past this error now but when i click and actuall post it says "invalid post"

any ideas?


All times are GMT. The time now is 07:56 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.01018 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (3)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