vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Guest can't see links. (https://vborg.vbsupport.ru/showthread.php?t=222216)

MichaelDance 05-06-2010 06:53 PM

Mate, some reason it doesnt work for me http://urgamingzone.tabhosts.com/showthread.php?p=1

Alexey? 05-07-2010 09:03 PM

Now i renewed my license and i will edit my post with the answers for you problems.



Quote:

Originally Posted by desitracker (Post 2029710)
hi i have installe dit into my forum..but here is a BIG PROBLEM..

it's only hide a link and not a link what is into

may i have something like vbulletin.org..

all things are hides..

Well, vb.org is probably uses another kind of a hide hack that only members with license like a special user group can see al the hidden content.




Quote:

Originally Posted by MichaelDance (Post 2032731)
Mate, some reason it doesnt work for me http://urgamingzone.tabhosts.com/showthread.php?p=1

I can't access to you forum, I'M getting an error "PAGE NOT FOUND"

MylesM 07-19-2010 07:02 PM

Doesn't work with C-Logic SEO? When ever I go to a post it says "Page not found" :S

FreeResellers 10-27-2010 03:14 PM

Code:

if ((!$this->registry->userinfo[userid]) OR (is_member_of($this->registry->userinfo, 1, 3)))
{
$this->post['message'] = preg_replace("!<a[^>]*(http|www)(.*)</a>!siU", $vbphrase[registerlink] , $this->post['message']); 
}

That did work for me with 3.8.6. Patch Level 1.
But I would still like to see that there is a link... I mean, now people just don't see anything.
Not even a messege that they have to register to see the links.

Silmarillion 11-04-2010 07:24 PM

Is there a way to use this code in subforum xy only?

datoneer 07-23-2011 04:46 AM

My vbulletin version:3.8.3
my code:
if ((!$this->registry->userinfo[userid]) OR (is_member_of($this->registry->userinfo, 1, 3)))
{
$this->post['message'] = preg_replace("!<a[^>]*(http|www)(.*)</a>!siU",
<b><font color="white">To view the link you have to <a href="login.php">Login</a> or <a href="register.php">Register</a></b></font>, $this->post['message']);
}

And i get this error when i open post as guest:
Parse error: syntax error, unexpected '<' in /home/datoneer/public_html/includes/class_postbit.php(294) : eval()'d code on line 90

Help please??

narhot 07-29-2011 07:36 AM

Great work so the best :up:

iglow 07-29-2011 05:13 PM

used to work fien but now nonlogged in people see this error:
http://screencast.com/t/CnEREQkvS9BW

any ideas? im on lastest vbull version

BirdOPrey5 08-03-2011 08:58 AM

Quote:

Originally Posted by iglow (Post 2226511)
used to work fien but now nonlogged in people see this error:
http://screencast.com/t/CnEREQkvS9BW

any ideas? im on lastest vbull version

When you say the latest vbulletin, do you mean the latest vb 3.8, or the real latest 4.x?

If it's 4.x try changing this line from:
Code:

$this->post['message'] = preg_replace("!<a[^>]*(http|www)(.*)</a>!siU", $vbphrase[nolink], $this->post['message']);
to:

Code:

$post['message'] = preg_replace("~<a[^>]*(http|www)(.*)</a>~siU", $vbphrase[nolink], $post['message']);

webmastersitesi 12-08-2011 07:00 AM

how can i hide links only at SHOWTHREAD_SHOWPOST area?

Alexey? 11-25-2012 01:00 PM

Quote:

Originally Posted by webmastersitesi (Post 2275808)
how can i hide links only at SHOWTHREAD_SHOWPOST area?

the modification is doing this exactly.

al2thero 12-02-2012 01:04 AM

Thanks a lot


All times are GMT. The time now is 07:42 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.01084 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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