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)
-   -   Thread Prefixes (https://vborg.vbsupport.ru/showthread.php?t=99925)

akanevsky 12-10-2005 08:25 PM

Very nice hack.
How about multiple prefixes in a forum?

DrewM 12-10-2005 08:58 PM

Quote:

Very nice hack.
How about multiple prefixes in a forum?
Mystics could you make multiple selection?

akanevsky 12-10-2005 09:00 PM

No,... I meant multiple choosers - each with different types of categories. :)
This could be easy if you made a table where those categories would be stored. And if those categories would be saved each on separate line. That way they would be unlimited amount of choices and categories in every forum..

shadow187 12-19-2005 10:31 PM

Quote:

Originally Posted by thalamus
Brilliant modification, had it on 3.0.x now got it for 3.5.0 and about to install...

Just a few questions if I may...

a) Is it very involved to be able to add a colour scheme to the <td> for each category/prefix that's set up (for instance, 'Problem' is black font on green, 'Urgent' is white font on red etc.)?
b) How difficult would it be for subsequent posters to be able to change the prefix with their new posts rather than having a mod or admin to go in and keep editing the first post of the thread?

Great Hack man , INSTALLED IT and LOVED IT..

Just one questian? is their coming an update out soon with the above giving points, cause that would be very usewell...

Regards

Shadow

Mr Chad 12-20-2005 02:07 PM

Any way to just remove the collum and put it infront of the title. Like this site.

konabiker47 12-21-2005 08:59 PM

When i go to select a prefix when making a new thread it says, "Please select an appropriate thread prefix from the drop down list beside the subject field." The thing is that i did do what it said. I must have made an error, where could it be?

jokerz 12-24-2005 10:36 AM

Quote:

Originally Posted by konabiker47
When i go to select a prefix when making a new thread it says, "Please select an appropriate thread prefix from the drop down list beside the subject field." The thing is that i did do what it said. I must have made an error, where could it be?

That's odd. Did you select a prefix or you leave them as blank? If you want users to select a prefix rather than leave as blank, turn 'required' on in admincp thread prefix.

akanevsky 12-24-2005 06:26 PM

Well are you going to implement my suggestion or not? Because if not I'll have to make and release my own prefixes hack... :(

john1744 12-27-2005 07:29 AM

In my ACP it is now saying that the templates I edited are now out of date?

Odd.

I've installed this before with no issue like that.

Lamby1973 12-27-2005 08:39 AM

Hiya i installed this, but now when i go to moderate threads etc i get this error message

Code:

Fatal error: Existing data passed is not an array
Called set_existing in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/includes/class_dm_threadpost.php(1234) : eval()'d code on line 25
Called eval in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/includes/class_dm_threadpost.php on line 1234
Called delete in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/postings.php on line 392
in /includes/class_dm.php on line 235

Cheers

Lamby

jarod1981? 12-28-2005 12:16 PM

Great Hack!

It's work also on Vbulletin 3.5.2?

Thanks!

klaush 12-28-2005 02:04 PM

Quote:

Originally Posted by jarod1981?
Great Hack!

It's work also on Vbulletin 3.5.2?

Thanks!

Yes! I installed this night without any problems on 3.5.2.

There are some templates to edit, so you only have to be careful to do the neccessary changes in there.

jarod1981? 12-28-2005 03:01 PM

Hi Klaush!

Very thanks :rolleyes:

bing11 12-29-2005 04:15 AM

so nice thank you

Lamby1973 12-29-2005 09:04 AM

No ones answered my problem yet, and with threads to moderate, its getting kinda hard!

Mystics 12-31-2005 01:28 PM

Quote:

Originally Posted by Lamby1973
Hiya i installed this, but now when i go to moderate threads etc i get this error message

Works fine for me. Please tell me exactly what you are doing, step-by-step.

Lamby1973 01-01-2006 09:29 AM

what it says in the instructions to do....i followed them step by step....will go abck over and check now, see if there was anything i missed out!

Mystics 01-01-2006 10:40 AM

Quote:

Originally Posted by Lamby1973
what it says in the instructions to do....i followed them step by step....will go abck over and check now, see if there was anything i missed out!

I meant how you moderate threads etc. and when exactly you get the error.

shadow187 01-03-2006 08:12 PM

Great hack man, like i said it before,

just some questians ?

How difficult would it be to have different colors for every specific prefix you define it a forum ??
And would it be possible to change the thread prefix in forumdisplay page than rather editing every thread seperate ?
Or change the prefix in the quick reply box ??

Would that be hard to do ??

Any help would be awsome

Thanks in advandce

Shadow

firstrebel 01-03-2006 10:11 PM

Worked first time on my 3.5.2 dev site. Will get around to installing on the live site tomorrow. Great hack

Bob

websiteicons.co 01-03-2006 11:20 PM

Greatest hack ever, but i have a small problem:

I have installed everything exactly as described in the install file and everything is actually working correct. But for some reasen the prefix doesn't show up on the forumdisplay page.

- Board version: 3.5.2

What is wrong?

shadow187 01-08-2006 04:02 PM

Quote:

Originally Posted by shadow187
Great hack man, like i said it before,

just some questians ?

How difficult would it be to have different colors for every specific prefix you define it a forum ??
And would it be possible to change the thread prefix in forumdisplay page than rather editing every thread seperate ?
Or change the prefix in the quick reply box ??

Would that be hard to do ??

Any help would be awsome

Thanks in advandce

Shadow

ANy News please ????

PIKenPIK 01-09-2006 01:42 PM

Couldn't live without this hack ... Just now I can update my forum vB 3.07 to 3.5.3 :rolleyes:

All installed and works linke a charm!

2 minor questions:

The title in threadview is now:
Prefix - NameOfTheTitle
I want to change that into:
(Prefix) NameOfTheTitle

I changed in class_dm_threadpost.php:
PHP Code:

$threadinfo['title'] = $threadinfo['threadprefix'] . ' - ' $threadinfo['title']; 

into
PHP Code:

$threadinfo['title'] = ($threadinfo['threadprefix']) . $threadinfo['title']; 

or
PHP Code:

$threadinfo['title'] = '(' $threadinfo['threadprefix'] . ')' $threadinfo['title']; 

but both ways didn't work :disappointed: Do you know a (other) way?

2nd) On the forumindex (home) the latest post is shown as an URL with the Prefix in it:
Like: Prefix - This Is The Latest Post
I would like to show there the Prefix with the link next to it:
Like: (Prefix) This Is The Latest Post

Hopefully you can give two nice answers ;)


XXX
PnP

marc_t 01-09-2006 01:48 PM

As far as I know you can change this at the admin cp. You've got a field where you can define how this looks like. I think <strong>{1}</strong> was standard. The {1} is for the prefix itself and the rest is changeable...

PIKenPIK 01-09-2006 02:12 PM

Quote:

Originally Posted by marc_t
As far as I know you can change this at the admin cp. You've got a field where you can define how this looks like. I think <strong>{1}</strong> was standard. The {1} is for the prefix itself and the rest is changeable...

Thanks I know :)

The title in the threadview can then me made as:
(Prefix) - NameOfTheTitle
But still with the '-' in it. More worse: The Prefix will be shown the same way in the colomn of forumview.
So that's not he answer!

marc_t 01-09-2006 02:36 PM

Ah ok.. got you wrong then... sorry ;)

YLP1 01-10-2006 01:19 AM

Being new to php, will this work for version 3.5.3?

SwissPegasus 01-10-2006 09:27 AM

I installed this Mod without any Problems...Thanks a lot

jj 01-10-2006 05:34 PM

Quote:

Originally Posted by YLP1
Being new to php, will this work for version 3.5.3?

running it with 3.5.3 (after update)

IrPr 01-11-2006 12:01 AM

installed on 3.5.3 and workin

how to set prefixes in vBAdvanced Recent Threads?

bashy 01-14-2006 03:52 PM

Hi

Since installing this my bb codes nor smilies are clickable/working

What have i broken, Please can advise?

You can have access to what ever you need :)

Mystics 01-14-2006 05:42 PM

Quote:

Originally Posted by bashy
You can have access to what ever you need :)

A testuser would be good :)

Developer 01-14-2006 06:00 PM

i need a simple version that is admin controlled and for each forum i add the prefix that i want with out moderator control or other things

Mystics 01-14-2006 06:04 PM

Quote:

Originally Posted by Developer
i need a simple version that is admin controlled and for each forum i add the prefix that i want with out moderator control or other things

Edit threadprefix.php, change:
Code:

if (!can_moderate($foruminfo['forumid']) OR $foruminfo['forumid'] == 0 OR !$foruminfo['allowprefix'])
{
        print_no_permission();
}

to:
Code:

if ($vbulletin->userinfo['usergroupid'] != 6 OR $foruminfo['forumid'] == 0 OR !$foruminfo['allowprefix'])
{
        print_no_permission();
}

And edit the forumdisplay template to show the manage prefixes link only for admins.

bashy 01-14-2006 06:06 PM

Quote:

Originally Posted by Mystics
A testuser would be good :)

Hi

I have just reverted all the templates and it still is the same...
I have even upgraded VB to 3.5.3 and still the same...

Since removing the codes i now get this problem see image

Gonna PM you login deets for admin and FTP..
Thanks in advance..

Thanatos 01-15-2006 08:07 PM

This was working in 3.5.1 for me, but I tried reinstalling this in 3.5.3 and it wouldn't work.

I got

Call to undefined function: fetch_thread_prefixes() {forum link to my forurms}/forumdisplay.php(105) : eval()'d code on line 16

I uninstalled the product, even uninstall edit was exactly where it was supposed to be.

I reinstalled, double checked and found everything in the exact place it was supposed to be. When I did the final uninstall, everything was exactly in place.

I tried a default (untouched) set of templates and still got the error.
I tried to replace all the physically edited files and left the edited templates intact, still got the error.

So I couldn't narrow it down to one are or the other. If I turned the plugin off, everything worked fine.

Anyway, any suggestions or ideas on what it could be?

IrPr 01-15-2006 09:34 PM

works for me on 3.5. fine !

Thanatos 01-15-2006 09:56 PM

Quote:

Originally Posted by Moosa
works for me on 3.5. fine !

Well, count yourself lucky.

snowlion 01-16-2006 05:30 AM

Quote:

This was working in 3.5.1 for me, but I tried reinstalling this in 3.5.3 and it wouldn't work.
same for me, i can't visit to threadprefix.php page
can anyone upgrade to 3.5.3 version for this mod

shadow187 01-16-2006 10:30 PM

Is there any news on a update yet please ??

s


All times are GMT. The time now is 04:21 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.01583 seconds
  • Memory Usage 1,829KB
  • 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
  • (3)bbcode_php_printable
  • (14)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