vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Make Prefixes Clickable to Filter Forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=230906)

Toxic2 01-01-2010 10:57 PM

Quote:

Originally Posted by Lynne (Post 1943427)
I use brackets in my prefixes, so that isn't it. Are you trying this on a default style? Also, you need to be using rich prefixes - did you make sure to enter the prefix text in that text box also?

I am using different styles, In Prefix, the prefix ID is CN prefix set is TV prefix, rich txt [CN], plain txt [CN] as well. the TV Prefix has the various countries as I mentioned above. All countries are set to display order 10. ( I'm not all that familiar how to accurately set up prefix's yet) But all posts require a prefix before one can submit the posting. And that does work.

It has been decided to eliminate sub forums by country, and all posts are In one forum with the various Country prefix's. Your mod would certainly eliminate page after page, looking for specific country posts. e.g. all [KR] or [JP] etc.

I use the Style simple Black and added the Mod while using simple Black as the default.

If I need to re make Prefix's in all styles'(including default) a different way please advise

Thank you :)

Lynne 01-02-2010 03:28 AM

Have you tried this on a basic default style on your site?
Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

SuperGLS 01-03-2010 02:06 AM

Works great for me on Gold. Thanks!

mandingo 01-05-2010 08:42 PM

Quote:

Originally Posted by Lynne (Post 1937631)
Hmmm, this wasnt' written to be used on the What's New page. I'll have to put a condition around it so it doesn't show then in my next release.

If you want to do it now, just put this around the plugin contents:
PHP Code:

if (THIS_SCRIPT == 'forumdisplay') {
** 
the current plugin code **



Put this where exactly? (sorry)

Lynne 01-05-2010 09:07 PM

Quote:

Originally Posted by mandingo (Post 1948207)
Put this where exactly? (sorry)

I just updated the mod to have this new condition in there, so download the new version.

mandingo 01-05-2010 09:22 PM

Thanks Lynne, you're the best.

RoteRose 01-09-2010 12:25 AM

Hello,

i found a bug, if you search for a prefix, the result page displays the prefixes like this:
http://<<ur>>l/forums/?prefixid=Rapidshare
this will result in a 404 error page.

And i?ve got another problem, i use this rewrite script for my lighttpd for seo urls. The /forum/ rewrite will nor work with your mod, can anybody help me to change the string?

Code:

url.rewrite-once = (
          "/entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?))" => "/entry.php?b=$1&page=$2&$query_string",
          "/threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?))" => "/showthread.php?t=$1&page=$2&$query_string",
          "/members/([0-9]+)" => "/member.php?u=$1&$query_string",
          "/forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?))" => "/forumdisplay.php?f=$1&page=$2&$query_string",
          "/blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?))" => "/blog.php?u=$1&page=$2&$query_string",
          "/list/([^/]*/)([0-9]+)" => "/list.php?r=$1$2&$query_string",
          "/content/(.*)" => "/content.php?r=$1&$query_string",
          "/widget/config/([0-9]+)" => "/widget.php?r=config/$1&$query_string",
          "/clientscript/(.*)" => "/clientscript/$1"
        )


Lynne 01-09-2010 04:09 AM

Quote:

Originally Posted by RoteRose (Post 1950799)
Hello,

i found a bug, if you search for a prefix, the result page displays the prefixes like this:
http://<<ur>>l/forums/?prefixid=Rapidshare
this will result in a 404 error page.

Are you using version 1.1? When I search on a prefix with version 1.1, the prefixids are not clickable.

RoteRose 01-09-2010 04:56 AM

-.- i downloaded the new version and extract it to a folder with a (2) behind and choosed the one without ^^ sry. Now it?s working fine, but still the problem with the rewrite :(

Lynne 01-09-2010 03:20 PM

Quote:

Originally Posted by RoteRose (Post 1950911)
-.- i downloaded the new version and extract it to a folder with a (2) behind and choosed the one without ^^ sry. Now it?s working fine, but still the problem with the rewrite :(

I'm sorry, but I can't help with the rewrite.


All times are GMT. The time now is 04:58 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.01354 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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