(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpacks.com%2Fimagenes%2Fnuevo_logo_mod.png&hash=2daa61076ed8f0f60f0c644dc6087aa62fb85c81) (http://www.smfpacks.com)
SMF Topic Prefix Mod v1.2.2 - NIBOGO
Powerful topic prefix system, with full control of every prefix.
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1617) | My Mods (http://custom.simplemachines.org/mods/index.php?action=search;author=126412) | Donate (http://www.smfpacks.com/donate.php) | Official Website (http://www.smfpacks.com/) |
PRO VERSION (http://www.smfpacks.com/page/sa=atp) | SMF 1.1.X Version (http://www.smfpacks.com/page/sa=atp)
Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.
SMFPacks.com Provides Other Great Packages:
- Reason for Editing Mod.
- Yet Another Global Announcements Mod.
- SMF Social Groups.
- SMF Links Directory.
- SMF Downloads Directory.
- SMF Dynamic Directory.
- Advanced Topic Prefix Mod.
- Advanced Invitations System.
- Move Topic Notification.
- PM to New Members.
- Permissions Info.
- Next Post Level.
- Karma Buttons.
- SMF Multi Quote.
- Attachments in Topics.
- and much more visit us on SMFPacks.com
Author:
- NIBOGO
PRO Version & SMF 1.1.X Version:
o THERE IS A PRO VERSION AVAILABLE WITH PREFIX COLOR, FORMAT (
B,
I.
U and
S), Hyperlink, Image, Custom Sort of Prefixes, and more.
Features:
o You can create unlimited prefix.
o Select in what boards will be shown each prefix.
o Select what membergroups will be able to select each prefix.
o Simple and friendly admin panel for all the prefix.
o Permission to manage prefixes.
o Support for the Linktree.
o Easy manual installation , you can manually install the db with the db_prefix.php.
Manual Edit:The SMF Topic Prefix Mod has a new feature, YAGAM Manual Database Installation you only need to upload the file "db_prefix.php" and open the file on your browser:
http://www.yourforum.com/smf/db_prefix.php (http://www.yourforum.com/smf/db_yagam.php)
Languages:
- English/English UTF8
- Spanish_es/Spanish_latin - Spanish_es-utf8/Spanish_latin-utf8
Compatibility:
- 2.0
Changelogs:Version 1.2.2 -
June 29, 2011- Added 2.0 Support.
Version 1.2 -
Dic 01, 2009- Added Curve & 2.0 RC2 Support.
- Changed the Latest Version Script provider to SMFPacks.com
Version 1.1 -
May 25, 2009- Now the mod shows the name of each membergroups in the Admin Panel
- Fixed some bugs in the Topic Prefix Version Page.
- Fixed a little bug in the Post page.
- Fixed a bug in Topic Prefix strings with the Permission Name and Description
Version 1.0 -
Apr 01, 2009- Initial Release.
LICENSE (http://creativecommons.org/licenses/by-nc-nd/3.0/)
v2 is still in RC stages where v1 is final. So i would say it would have been better if this was for v1.1.8 first :)
OK,
I'v already instal this mod on 2.0 RC1...
Ther i no postprefix panet al Administrativ panet at all.
O! Important message, i'm installing on polish/polish-utf8... but i'm doing it like with english and spanish, manually.
Why there is no panel and no info that this mod is installed?
Great mod, installed and worked first time no problems. Suggestion for future versions - separate the prefix from the topic title so that they become two separate clickable entities e.g.
'prefix 1 topic header'
becomes two clickable entities
'prefix 1' and 'topic header'
Clicking 'prefix 1' would then list all topics with the same prefix.
Make sense? :)
In Admin under the 'Forum' section there should be 'Prefix Admin Panel'
Quote from: casp3r on April 19, 2009, 03:31:28 PM
In Admin under the 'Forum' section there should be 'Prefix Admin Panel'
No! there ios nothing like this, eaven in eanglish version.
So many times i was waiting it thx nibogo i will try
Installed and everything seems working ok, no errors found yest.
One important question is possible that prefix go at the end of title and not at the begin ?
i means now title of topic appear so: [RS] Crysys i will like to have this Crysys [RS]
how i could invert it ?
Another question Nibogo, i need to add 2 or more prefix is possible LEAVE the blank space that your mod create between ecc prefix added?
Quote from: TechPrince on April 19, 2009, 02:37:49 PM
v2 is still in RC stages where v1 is final. So i would say it would have been better if this was for v1.1.8 first :)
I don't think so, there is already a PostPrefix mod for SMF 1.1.X, Don't ask me to convert the mod I will not do that
Quote from: mincel on April 19, 2009, 03:27:53 PM
OK,
I'v already instal this mod on 2.0 RC1...
Ther i no postprefix panet al Administrativ panet at all.
O! Important message, i'm installing on polish/polish-utf8... but i'm doing it like with english and spanish, manually.
Why there is no panel and no info that this mod is installed?
Did you add the translation in the Polish files??
Quote from: edi67 on April 19, 2009, 05:45:00 PM
Installed and everything seems working ok, no errors found yest.
One important question is possible that prefix go at the end of title and not at the begin ?
i means now title of topic appear so: [RS] Crysys i will like to have this Crysys [RS]
how i could invert it ?
Another question Nibogo, i need to add 2 or more prefix is possible LEAVE the blank space that your mod create between ecc prefix added?
In Post.php find:
//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
Replace with:
//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = $_POST['subject'] . ' ' . $_POST['post_prefix'];
Quote from: NIBOGO on April 19, 2009, 06:52:32 PM
Quote from: edi67 on April 19, 2009, 05:45:00 PM
Installed and everything seems working ok, no errors found yest.
One important question is possible that prefix go at the end of title and not at the begin ?
i means now title of topic appear so: [RS] Crysys i will like to have this Crysys [RS]
how i could invert it ?
Another question Nibogo, i need to add 2 or more prefix is possible LEAVE the blank space that your mod create between ecc prefix added?
In Post.php find:
//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
Replace with:
//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = $_POST['subject'] . ' ' . $_POST['post_prefix'];
great Nibogo thx ;)
Quote from: NIBOGO on April 19, 2009, 06:52:32 PM
Quote from: mincel on April 19, 2009, 03:27:53 PM
OK,
I'v already instal this mod on 2.0 RC1...
Ther i no postprefix panet al Administrativ panet at all.
O! Important message, i'm installing on polish/polish-utf8... but i'm doing it like with english and spanish, manually.
Why there is no panel and no info that this mod is installed?
Did you add the translation in the Polish files??
Yes, i made it identycli like in spanish and english files...
There is a prefix field while posting and there ia a data base, but ther are no panel for moderin it :/
Hi Author,
Will you explain me the exact need of the mod.
Quote from: mincel on April 20, 2009, 10:05:56 AM
Quote from: NIBOGO on April 19, 2009, 06:52:32 PM
Quote from: mincel on April 19, 2009, 03:27:53 PM
OK,
I'v already instal this mod on 2.0 RC1...
Ther i no postprefix panet al Administrativ panet at all.
O! Important message, i'm installing on polish/polish-utf8... but i'm doing it like with english and spanish, manually.
Why there is no panel and no info that this mod is installed?
Did you add the translation in the Polish files??
Yes, i made it identycli like in spanish and english files...
There is a prefix field while posting and there ia a data base, but ther are no panel for moderin it :/
Edit your admin.php file manually ;)
Quote from: A.SK on April 20, 2009, 01:16:32 PM
Hi Author,
Will you explain me the exact need of the mod.
You can add prefix in all the topics, like [RS] if the topic has a link in RapidShare or [APPROVED] if the content has been aproved, You can do a lot of things with the prefix ;)
Quote from: NIBOGO on April 20, 2009, 04:32:55 PM
Quote from: mincel on April 20, 2009, 10:05:56 AM
Quote from: NIBOGO on April 19, 2009, 06:52:32 PM
Quote from: mincel on April 19, 2009, 03:27:53 PM
OK,
I'v already instal this mod on 2.0 RC1...
Ther i no postprefix panet al Administrativ panet at all.
O! Important message, i'm installing on polish/polish-utf8... but i'm doing it like with english and spanish, manually.
Why there is no panel and no info that this mod is installed?
Did you add the translation in the Polish files??
Yes, i made it identycli like in spanish and english files...
There is a prefix field while posting and there ia a data base, but ther are no panel for moderin it :/
Edit your admin.php file manually ;)
I'v already made it twice... each time it was remowed... now it is on serwer, maby now it will works.
But now... after the clearing the cash i got:
QuoteTemplate Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.
You can also try refreshing this page.
How long it will shows?
can I change the color of the prefix and also make it to where the prefix isn't part of the link to that topic?
Quote from: netoya on April 21, 2009, 10:48:58 AM
can I change the color of the prefix and also make it to where the prefix isn't part of the link to that topic?
Both are possible, but I will have to edit all the pages where the topics can be shown (unread, notifications, recent) so I will not do that
Tell a change in one place, and I changed myself in all the rest.
NIBOGO, thanks for all Your help.
The mod is excellent.
I'v found the problem and solution to it...
Friend of mine gave me the account on the serwer where he instal SMF...
I was trying to install the mod on my account but on bord which was instaled from admion account...
When i'v take and instal mod from the admion account everything starts to woork propperly.
If any one of You will have problem with instaling mod, just check Your priviliges on server account ;D
Quotecan I change the color of the prefix and also make it to where the prefix isn't part of the link to that topic?
QuoteBoth are possible, but I will have to edit all the pages where the topics can be shown (unread, notifications, recent) so I will not do that
An excellent mod and one I would really like to use but I think these additions are a must - the next version maybe? :)
I will not add that, I have a lot of important things in my real life and others things
Quote from: casp3r on April 22, 2009, 06:38:43 AM
Quotecan I change the color of the prefix and also make it to where the prefix isn't part of the link to that topic?
QuoteBoth are possible, but I will have to edit all the pages where the topics can be shown (unread, notifications, recent) so I will not do that
An excellent mod and one I would really like to use but I think these additions are a must - the next version maybe? :)
casp3r, i think that i'm a able to help You. But
NIBOGO will be pleased to veryfy my post.
So then... i tyhink thet putting in concret places some html tags will help... while showing the subject. It should be made in
Post.phpQuote from: till now it was
Quote from: find in unchanged file ./Sources/Post.php// At about this point, we're posting and that's that.
ignore_user_abort(true);
@set_time_limit(300);
Quote from: as fare we were adding this text after//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
Sytuation from above was normaly, but i think than we can made somethin like this:
Quote from: i think that we can
Quote from: find in unchanged file ./Sources/Post.php// At about this point, we're posting and that's that.
ignore_user_abort(true);
@set_time_limit(300);
Quote from: put this text after//Topic Prefix Mod
if (isset($_POST['post_prefix']))
$_POST['subject'] = '<b>[ ' .$_POST['post_prefix'] . ' ] :</b> ' . $_POST['subject'];
Only text marked on violet is diferent than standard version.
I was puttin it in that way from two reasons:
1. I suppose that SMF 2.0 RC1 is saving html tags in database,
2. I think that it is easier to creat in admin panel prefix eg. 'TEST' without any addons, becaus this smal diferrence which i made will add this differenc while paking the post. So, when You chous TEST as a prefix for Your subject, this will create, while putin in to db, [ TEST ] : plus subject without bolded fonts.
I see only some problems with colors... The same way as bold text we can add some color for prefix, but it will be only one color for ann prefixs.
Quote from: if You already instaled Topic PostPrefix Mod on Your SMF 2.0 RC1
Quote from: find in ./Sources/Post.php$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
Quote from: Replace With$_POST['subject'] = '<b>[ ' .$_POST['post_prefix'] . ' ] :</b> ' . $_POST['subject'];
I'v foud some problems with showing this... as only i will find solution i will put it hear
Somewere in bord code is function like htmlspecialchars_decode() and all html tags are deformed... i efect ther are no posibility to show bold font becaus each eg. when we put Jane & 'Tarzan' ino db this function remade it for Jane & 'Tarzan'
... i can't find where this function is, to stop it... :-[
Hey Ive installed this mod after being looking for it for some time.
But i have a problem.
I have a prefix set up but it only works in 1 thread at a time.
I have setup 3 prefixs for one thread and 3 for another but it will only show up in one thread.
What could be causing this problem?
What do you mean??
You can use a prefix just in 1 topic???
Quote from: Apocalypse. on May 09, 2009, 11:09:57 AM
Hey Ive installed this mod after being looking for it for some time.
But i have a problem.
I have a prefix set up but it only works in 1 thread at a time.
I have setup 3 prefixs for one thread and 3 for another but it will only show up in one thread.
What could be causing this problem?
I encounter the same problem... set up a few prefix but only the 1st prefix i created is working... while the rest of the prefixes are not showing in the threads i've assigned...
Sorry I meant Boards not threads.
I have assigned 3 prefixes to say the Request Board and 3 to the Help Board, but when you got to the post screen only the Request Board works, the Help board doesnt show the prefixes this also applys to all other Boards I assign to. Only 1 board applys the mod
I've installed this mod using the packagemanager and it is now showing up under installed packages,
however it's not showing up under Forum from admin, and that's with full admin rights.
there is some modification to insted appear some prefix like Presentation ( for example )...appears one image that we define?
thnkx
Quote from: the_shadow on May 20, 2009, 05:07:56 PM
there is some modification to insted appear some prefix like Presentation ( for example )...appears one image that we define?
thnkx
No, there is no option for use images as prefixes
Quote from: Apocalypse. on May 12, 2009, 06:24:15 AM
I have assigned 3 prefixes to say the Request Board and 3 to the Help Board, but when you got to the post screen only the Request Board works, the Help board doesnt show the prefixes this also applys to all other Boards I assign to. Only 1 board applys the mod
Same problem here. Only the first assigned prefix works, next ones doesn't.
Changelogs:
Version 1.1 - May 25, 2009
- Now the mod shows the name of each membergroups in the Admin Panel
- Fixed some bugs in the Topic Prefix Version Page.
- Fixed a little bug in the Post page.
- Fixed a bug in Topic Prefix strings with the Permission Name and Description
I've installed this excellent mod for the second time and this time the prefix box is visible in editor view even when there's no prefix available.
How can I stop it showing when there's nothing to show?
When will this EXTREMELLY EXCELLENT MOD be available for 1.1.x ??
I think it was developed once but the author gave up (or sth like that) but I am really looking forward dor you o make it for 1.1.x :P
Regards!
Quote from: malcomxar on June 15, 2009, 10:49:42 PM
When will this EXTREMELLY EXCELLENT MOD be available for 1.1.x ??
I think it was developed once but the author gave up (or sth like that) but I am really looking forward dor you o make it for 1.1.x :P
Regards!
No, try the PostPrefix mod works property on SMF 1.1.X
Hello!
it is possible to add a color choice of the prefix?
Quote from: Bruno36 on June 19, 2009, 05:16:42 AM
Hello!
it is possible to add a color choice of the prefix?
No, I say of that would require a lot of changes in the code
Quote from: NIBOGO on June 16, 2009, 03:03:27 PM
No, try the PostPrefix mod works property on SMF 1.1.X
Hi again, i tried to install this mod on a test forum but it said that it was not compatible...
What did you mean by "try the PostPrefix mod works property on SMF 1.1.X"??
Thanks again!
Quote from: casp3r on April 19, 2009, 03:30:45 PM
Great mod, installed and worked first time no problems. Suggestion for future versions - separate the prefix from the topic title so that they become two separate clickable entities e.g.
'prefix 1 topic header'
becomes two clickable entities
'prefix 1' and 'topic header'
Clicking 'prefix 1' would then list all topics with the same prefix.
Make sense? :)
agree with u. :D
can make ?
Quote from: justblbn99 on June 23, 2009, 09:24:28 AM
Quote from: casp3r on April 19, 2009, 03:30:45 PM
Great mod, installed and worked first time no problems. Suggestion for future versions - separate the prefix from the topic title so that they become two separate clickable entities e.g.
'prefix 1 topic header'
becomes two clickable entities
'prefix 1' and 'topic header'
Clicking 'prefix 1' would then list all topics with the same prefix.
Make sense? :)
agree with u. :D
can make ?
No, because I don't set any prefix in the db as the prefix of the topic because I don't want to edit all the files of have topics (Recent, Unread, UnreadReplies, Notifications, BoardIndex, MessageIndex....)
So the mod will keep simple
Who can adapt it to v1.1.x please?
nice mod thx
how i can add color for the prefix please ?
Quote from: 007007 on July 07, 2009, 08:15:58 AM
nice mod thx
how i can add color for the prefix please ?
Quote from: NIBOGO on April 21, 2009, 02:48:12 PM
Quote from: netoya on April 21, 2009, 10:48:58 AM
can I change the color of the prefix and also make it to where the prefix isn't part of the link to that topic?
Both are possible, but I will have to edit all the pages where the topics can be shown (unread, notifications, recent) so I will not do that
I added russian translation to the mod:
* Added file TopicPrefix.russian-utf8.php (by copying TopicPrefix.english-utf8.php).
* Added to package-info.xml file this line:
<require-file name="TopicPrefix.russian-utf8.php" destination="$languagedir" />
* And added to install.xml translated part with...
<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
(also by copying of «Modifications.english-utf8.php» part).
But... after installing i have problems (the installation is ok, no errors):
1) When redirecting after installing, i get this error:
QuoteFatal error: Call to undefined function PrefixMain() in /home/.../public_html/Sources/Admin.php on line 576
2) When i trying to edit any post, i get this error:
QuoteTable 'sycra297_smf.smf_prefix' doesn't exist
File: /home/.../public_html/Sources/Post.php
Line: 1136
The modified (translated to russian) mod is attached.
P.SAnd when i trying to install original mod, i got this error message saing that this is not a modification package or it's corrupted.
*Bump* ::)
Anyone?
I agree with the other posters. For me a single line of prefix is not very useful.
I have need to prefix with a template like this:
QuoteIssue
Cause
Status of Issue
Temporary Resolution
Permanent Resolution
Versions Effected
Severity Rating
Implications on Other Customers
Places Issue Seen
Related Issues
Known Calls
Related Discussion
Related Links
Issue Identified by
Article History
Having just a single line, I don't see much use for. I know what you mean about real life though. I make skins for a media player http://yabb.jriver.com/interact/index.php?topic=46922.0 (http://yabb.jriver.com/interact/index.php?topic=46922.0) I never get time to do updates etc!
i have a error
8: Undefined index: post_prefix
Sources/Post.php
Líne: 1445
Post.php line 1445
$_POST['subject'] = $_POST['post_prefix'] . ': ' . $_POST['subject'];
Same solution
thanks :)
I'm getting the following error on every board that I'm trying to post a new topic or reply..
8: Undefined variable: prefix
File: /home/automot5/public_html/lxnation/Themes/default/Post.template.php
Line: 339
Here is Line 339 and surrounding in Post.template.php
334: if (!empty($context['prefix'])){
335: foreach ($context['prefix'] AS $dummy){
336: $prefix_groups = explode(',',$dummy['permissions']);
337: $groups_permission = count(array_intersect($user_info['groups'], $prefix_groups)) == 0 ? false : true;
338: $prefix_boards = explode(',', $dummy['id_boards']);
==>339: if (((in_array($board_info['id'],$prefix_boards)) || $prefix['id_boards'] == 0) && ($groups_permission == true || $context['user']['is_admin']))
340: $show = true;
341: }
342: }
343:
344: if ($show){
Quote from: NIBOGO on April 19, 2009, 10:27:22 AM
Compatibility:
- 2.0 RC1
- 2.0 RC1-1
No support for «2.0 RC1.2»? :(
Works great on SMF 2.0 RC1-2
Quote from: NIBOGO on September 06, 2009, 11:56:30 AM
Works great on SMF 2.0 RC1-2
On clean installation perhaps? I installed on local smf with only those packages:
QuoteHighslide Image Viewer 1.5
Bookmarks 2.2.1
But also i installed on other smf without those packages...
And now (in both of them) i get errors when i trying to edit/create some topic:
Table 'smf_admin.smf_adminprefix' doesn't exist
File: Z:\home\smf.ru\www\Sources\Post.php
Line: 1192
Can you please tell me what can i do to fix that, even if it's a problem on my side?
Ok, even on completely clean new SMF installation this mod have mentioned errors. What am i doing wrong?
Quote from: Automotive Nation on September 05, 2009, 09:48:05 PM
I'm getting the following error on every board that I'm trying to post a new topic or reply..
8: Undefined variable: prefix
File: /home/automot5/public_html/lxnation/Themes/default/Post.template.php
Line: 339
Here is Line 339 and surrounding in Post.template.php
334: if (!empty($context['prefix'])){
335: foreach ($context['prefix'] AS $dummy){
336: $prefix_groups = explode(',',$dummy['permissions']);
337: $groups_permission = count(array_intersect($user_info['groups'], $prefix_groups)) == 0 ? false : true;
338: $prefix_boards = explode(',', $dummy['id_boards']);
==>339: if (((in_array($board_info['id'],$prefix_boards)) || $prefix['id_boards'] == 0) && ($groups_permission == true || $context['user']['is_admin']))
340: $show = true;
341: }
342: }
343:
344: if ($show){
i have same error some help ?
I think i found what is causing these problems - the following files not extracted properly on install stage (or they modified incorrectly, because at the end the files are 0 kb size):
$sourcedir/TopicPrefix.php
$themedir/TopicPrefix.template.php
$imagesdir/admin/prefix.gif
Just extract them manualy to proper directories.
And also i found a bug when the user does not specify any prefix, then 2 spaces added to the subject title. To fix that, open Sources/Post.php, now find:
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
and replace with this:
$_POST['subject'] = ltrim($_POST['post_prefix'] . ' ' . $_POST['subject']);
i have a error
8: Undefined index: post_prefix
Sources/Post.php
Líne: 1445
Post.php line 1445
$_POST['subject'] = $_POST['post_prefix'] . ': ' . $_POST['subject'];
Same solution
thanks :)
I know you said adding color is possible, but when I was making my prefixes, I added a span class, no color, added bbcode, no color, so do we have to edit the related files?
Quote from: NIBOGO on September 06, 2009, 11:56:30 AM
Works great on SMF 2.0 RC1-2
Works fine! one of the best mods ! i was looking for this in my old 1.1.10 !!!
Quote from: Automotive Nation on September 05, 2009, 09:48:05 PM
I'm getting the following error on every board that I'm trying to post a new topic or reply..
8: Undefined variable: prefix
File: /home/automot5/public_html/lxnation/Themes/default/Post.template.php
Line: 339
Here is Line 339 and surrounding in Post.template.php
334: if (!empty($context['prefix'])){
335: foreach ($context['prefix'] AS $dummy){
336: $prefix_groups = explode(',',$dummy['permissions']);
337: $groups_permission = count(array_intersect($user_info['groups'], $prefix_groups)) == 0 ? false : true;
338: $prefix_boards = explode(',', $dummy['id_boards']);
==>339: if (((in_array($board_info['id'],$prefix_boards)) || $prefix['id_boards'] == 0) && ($groups_permission == true || $context['user']['is_admin']))
340: $show = true;
341: }
342: }
343:
344: if ($show){
same error here. any fix?
How the H*LL do you install this thing!?! I tried everything suggested
I installed this file (who knows where, Doesn't say)
I get this
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."
I follow those instructions above
Get this
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
3. Execute Modification ./Themes/default/languages/Modifications.spanish_es-utf8.php Skipping file
4. Execute Modification ./Themes/default/languages/Modifications.spanish_latin-utf8.php Skipping file
5. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
6. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
7. Execute Modification ./index.php Test successful
8. Execute Modification ./Sources/ManagePermissions.php Test successful
9. Execute Modification ./Sources/Post.php Test successful
10. Execute Modification ./Themes/default/Post.template.php Test successful
11. Execute Modification ./Sources/Admin.php Test successful
12. Extract File ./Sources/TopicPrefix.php
13. Extract File ./Themes/default/TopicPrefix.template.php
14. Extract File ./Themes/default/languages/TopicPrefix.english.php
15. Extract File ./Themes/default/languages/TopicPrefix.english-utf8.php
16. Extract File ./Themes/default/languages/TopicPrefix.spanish_es.php
17. Extract File ./Themes/default/languages/TopicPrefix.spanish_es-utf8.php
18. Extract File ./Themes/default/languages/TopicPrefix.spanish_latin.php
19. Extract File ./Themes/default/languages/TopicPrefix.spanish_latin-utf8.php
20. Extract File ./Themes/default/images/admin/prefix.gif
21. Execute Code db_prefix.php
I get to Apply Mod but I get this error
Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/bxwarez.com/httpdocs/Packages/temp/db_prefix.php' (include_path='.:.:') in /var/www/vhosts/bxwarez.com/httpdocs/Sources/Packages.php on line 905
I go take a look at line 905 This is what I see
require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);
I uploaded db_prefix.php. to my main directory & I get this
Creating Tables:
`bx`.smf_prefix table created.
Your database update has been completed successfully!
The Topic Prefix Mod Database was successfully installed.
Now you should go to the Topic Prefix Admin Panel.
Can PLEASE someone help! I NEED this mod and I can't seem to install it!!
Thanks!
Well you have installed the Database you just need to do the modifications to all the files, try with the package manager without load the db_prefix
any news about rc2? it doesn't work
just had a quick look at this mod and i have 2 suggestions
1 being it should be made compatable with rc2
2 i think you should have a colour option so you could get something like this prefix: topic title.
apart from that everything worked great
Quote from: adbrad on November 13, 2009, 06:04:34 PM
just had a quick look at this mod and i have 2 suggestions
1 being it should be made compatable with rc2
2 i think you should have a colour option so you could get something like this prefix: topic title.
apart from that everything worked great
Agreed on both accounts.. And to fix the errors that a lot of us are getting..
I already said that I will NOT add an option to change the format of the prefix.
About the convertion to SMF 2.0 RC2, I'll do it when I have time
Understandable NIBOGO..
Thanks for the update..
Quote from: NIBOGO on November 19, 2009, 10:31:21 AM
About the convertion to SMF 2.0 RC2, I'll do it when I have time
Great i will be following this :)
me 2 :)
v1.2 Released supporting Curve & RC2
link in 1st post goes to YAGAM ;)
nib, installing this mod (ver 1.2) in smf rc2 it says me that the package is corrupted or not compatible with this version...even the parses syas that this version it not compatible, and cheking the packages in my forum, i see that even if uploading the 1.2 version, it shows me in the package list the 1.1 version..
Change in the package manager to "SMF 2.0".
It runs.
Nice Mod
Run good at 2.0 RC2
Thanks
nothing to do. Even upping the 1.2 version, in the package manager i see the 1.1 version, and installing it it gives me error on:
./Themes/default/Post.template.php
and after installing it (without considering the error) the prefix is not showed up on my forums.
ok if u wanna it, i fixed the errors in package...withouth offending the original author, if niblogo wants i can post here the fixed package..
I didn't undestood what Eclipse said about "change in the package manager" :\
What do i have to do to make the mod work?
Thx...
Look
Sorry it´s German on the pic
Thx pal. o/
here is the fixed version for rc2. I hope i don't offend the author. i have just modified the package-info.xml and the install.xml (for fixing the post.template.php modification).
Quote from: scimmiotto on December 02, 2009, 02:58:02 PM
here is the fixed version for rc2. I hope i don't offend the author. i have just modified the package-info.xml and the install.xml (for fixing the post.template.php modification).
Used this and there is no topic prefix admin.
what do u mean? i see it
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs6.imagestime.com%2Fout.php%2Ft440305_Immagine.png&hash=751d44578fedc9d3c75206677889659f5ea812e6) (http://www.imagestime.com/show.php/440305_Immagine.png.html)
Quote from: scimmiotto on December 02, 2009, 02:58:02 PM
here is the fixed version for rc2. I hope i don't offend the author. i have just modified the package-info.xml and the install.xml (for fixing the post.template.php modification).
Please remove it.
I already do the upgrade to 2.0 RC2, but there was an error with winrar, so don't worry the mod has been done I just need to compress the right files
Regards
k tnx a lot for your great mod.
Nib the 1.2 version is yet bugged...it gives me 1.1 version and not compatible with rc2.
i am getting the same thing telling me won't work with rc2
I have some errors
Quote
http://..../index.php?action=post;msg=24;topic=6.0;ecd7d41d5=7fbe6a2103d8fcc74ee9c713c7e84516
8: Undefined variable: prefix
Datei: /..../cache/lang_FileManager_german-utf8_default.php (main sub template - eval?)
Zeile: 195
And when a user answer on a post, the prefix on the first post is delete.
Sorry for the bad english
It's not installing because:
* 10. Execute Modification ./Themes/default/Post.template.php Test failed
1. Replace ./Themes/default/Post.template.php Test failed
I tried even without any other mods installed and still goes wrong.
it seems niblogo wrong another time to up the right file, but NibLogo is disappeared :(
and this was a great mod at one time
i was able to get it to install by emulating 2.0 i am on RC2 and after install i see the settings where i can add the prefix but there is no drop down box to apply it when making a post and when i installed it there was an error in the post.template.php
'cause niblogo didn't up the right mod....
man this really stinks like i said i got it to install and i can make prefixes but the only error i got was the post.template.php theres gotta be a way to add the code to make it show doesn't anyone know how to do this i find that hard to believe
no help??
i will remove this mod.
nib, plz update the mod, it's not working with rc2 :(
@ scimmiotto
Quote2.0 RC1, 2.0 RC1-1, 2.0 RC1.2, 2.0 RC2
It is working with 2.0 RC2 but there are errors.
yeah and like i posted my errors are on the post template so nothing shows while posting there is no prefix box even on the core theme if could get it to parse for 2.0 i could add the stuff manually to the post template but it wont even do that
Sorry, but this modification does not appear to be compatible with the selected version.
ffrom what i read NIBOGO posted the worng mod maybe he can fix it please please
Quote from: Eclipse16V on December 26, 2009, 04:25:34 PM
@ scimmiotto
Quote2.0 RC1, 2.0 RC1-1, 2.0 RC1.2, 2.0 RC2
It is working with 2.0 RC2 but there are errors.
i now, but reading the package, i also suspect that niblogo updated only the packageinfo and not the code. In fact u can see that the package is not compatible with the new semantic style of curve.
i made work this mod under RC2, if anyone want to try feel free to use it...
owner, please contact me if you fix it
fixed styles issues and added the "LM" prefix name to the mod so no one gets confused
plase have in mind that this is temporary until the owner can fix his mod
REMOVED as requested by the author....
ok i just got the topic select mod to work and i installed this and it is weird cause it seems to have the same problem the other one had it puts everything at the bottom
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg39.imageshack.us%2Fimg39%2F4226%2Fcapturedx.jpg&hash=d43ef45339f5e696bd8aa75e969d7bda85552c16)
that is all at the bottom of start new topic
i can confirm that 1.2b is working on RC2
what a god thank you very much
is there a way to change the color of the prfix text
Quote from: sattninja on December 28, 2009, 08:12:46 PM
is there a way to change the color of the prfix text
yes it is, but you will need to modify the mod file
i looked at it in the post.php but i dont see anywhere to change the color thats ok i am just glad it is working
Quote from: sattninja on December 28, 2009, 08:19:37 PM
i looked at it in the post.php but i dont see anywhere to change the color thats ok i am just glad it is working
im busy fixing
Member Awards....DONE :P
Now that i think it could be a bit hard, as i created a prefix with HTML and it didnt get interpreted... i wonder if bbcode could be added!
like i said i am just happy it works
Quote from: luismanson on December 28, 2009, 08:29:47 PM
Now that i think it could be a bit hard, as i created a prefix with HTML and it didnt get interpreted... i wonder if bbcode could be added!
Not recommended, for very good performance reasons.
In any case, the author has asked me to remove the modified version of the mod from this thread - please remove it at your earliest convenience.
He has stated he will update for 2.0 RC2 when he has time.
Quote from: Arantor on December 29, 2009, 02:01:48 AM
Quote from: luismanson on December 28, 2009, 08:29:47 PM
Now that i think it could be a bit hard, as i created a prefix with HTML and it didnt get interpreted... i wonder if bbcode could be added!
Not recommended, for very good performance reasons.
In any case, the author has asked me to remove the modified version of the mod from this thread - please remove it at your earliest convenience.
He has stated he will update for 2.0 RC2 when he has time.
what a joke man that is ridiculous i thought this was all volunteer here the author should be thankful that it was fixxed i would be i mean gimme a break i will update it when i have time have you read the threads here man took someone 5 minutes to fix
that is sad
i am glad i got it before it was removed
he will update it when he has time
don't hold your breath
While I appreciate your frustration, if it were me, I'd be EXACTLY the same.
You know that mods are still copyrighted to their author, right? Any redistribution other than the mod site is invariably a breach of copyright and we HAVE to act if the mod author requests we (Cust. team) do.
NIBOGO is totally within his rights to request this, as do plenty of other authors, actually. I can name plenty of other such cases.
no i understand completely i just think it is bad to have it is compatible with RC2 and then it is not and then ignore the support posts i mean he answered the threads a few times with useless info the time it took him to make the posts he could have corrected his error just doesnt make alot of sense when i see a mod that looks interesting and it states it is not compatible with my version at least i dont spend a bunch of time and frutration
but no big deal it worls for me now i just feel bad fo others if he doesnt update it soon
im confused, i really dont want to start a discussion here and i don't care if the mod author is busy or does not want to upgrade his mod... but this is a community, and i feel that we are here to help each other and also to share. I just wanted to help others while the the right update was not here. i do not even changed credits, just added LM into the mod name so no one could get confused.
anyways, thanks to everyone who thanked me and to the mod author i apologize for violating you rights.
luismanson, generally I would agree with you. We are a community and we try to help each other.
Unfortunately, mod authors are a law unto themselves and if they want to keep sole control over it, it is their prerogative, even though it only hurts those who actually want to help.
There's nothing stopping you doing a fresh (different) mod that does the same basic thing, however...
Thanks Arantor for your help with this issue :)
As I already said I´ll update the package as soon as I have time to do it and you can check the mod info it has a license that you have to respect:
http://creativecommons.org/licenses/by-nc-nd/3.0/
As you can see in that license you can use and distribute the SAME mod but you can't create derivated works from it as you can read in that page:
"No Derivative Works — You may not alter, transform, or build upon this work."
So I don't know what it's a big deal it's a free mod you can use it in your website the only thing that I ask you is respect the mod license
Quote from: NIBOGO on December 29, 2009, 01:21:40 PM
Thanks Arantor for your help with this issue :)
As I already said I´ll update the package as soon as I have time to do it and you can check the mod info it has a license that you have to respect:
http://creativecommons.org/licenses/by-nc-nd/3.0/
As you can see in that license you can use and distribute the SAME mod but you can't create derivated works from it as you can read in that page:
"No Derivative Works — You may not alter, transform, or build upon this work."
So I don't know what it's a big deal it's a free mod you can use it in your website the only thing that I ask you is respect the mod license
i already apologized for the licensing issue, and like i said i just tried to help others don't be so ungrateful this also would had allowed you to just look the code without taking too much of your time. this kind of attitude does not encourage people to colaborate.
de nada. :-X
all i know is what you did worked 100% perfectly and i thank you very much :o :o :o
great looking mod, would like to use it on 2rc2
just uninstalling this mod, it's simply ridicolous.
can anyone tell when its gonna be available for SMF 2.0 RC2 ?
Quote from: sid2varun on January 06, 2010, 01:09:33 AM
can anyone tell when its gonna be available for SMF 2.0 RC2 ?
yes, I would like this mod for RC2 as well!
lol
Quote from: sid2varun on January 06, 2010, 01:09:33 AM
can anyone tell when its gonna be available for SMF 2.0 RC2 ?
bump ***
When the author has time?
Bumping will not make it happen any quicker.
Hi Arantor !
Just found what i'm looking for but this mod seems not to work on RC2 ? No action definded in package.
Is there a way to change the prefix ordering ? Instead id_prefix which is the id number i would like to sort after prefix (which is text). I need "KMS 1A" to be before "KMS 1B" but 1B has id 0 etc.
Just delete the first prefix and re-add it so it will be shown after the second
but what if someone has too many prefixes :o ....
So it seems the sorting is here :
// Load the Prefix
$dbresult = $smcFunc['db_query']('', '
SELECT
id_prefix, prefix, permissions, id_boards
FROM {db_prefix}prefix
ORDER BY id_prefix');
But changing this to ORDER by prefix; makes no change. Seems that it's combined with usergroou permission ?!
Quote from: sid2varun on February 02, 2010, 10:19:27 AM
but what if someone has too many prefixes :o ....
In that case you manually change the id of the prefix using a MySQL Administrator like phpmyadmin
Quote from: NIBOGO link=topic=305579.msg2484565#msg2484565 date=1265134481
In that case you manually change the id of the prefix using a MySQL Administrator like phpmyadmin
/quote]
loooool - not really ?!?!?! ? If you have a lot of Prefixes it should be possible to sort them after TEXT which is more suitable.
Even though there is a performance cost attached in doing that?
If so - doesn't matter - my board has only 100 users at the moment and it will grow up to maybe 1000. Thats all. I had 38 users in max online so performance isn't a problem at the moment. Maybe SMF will have a prefix option in their future core ^^ when it becomes a pf question :-)
As I said to you elsewhere I really can't see it becoming a core feature - the demand just isn't there to support it being a core feature, IMHO.
Hey, I have been trying to install this mod on my forum (2.0 RC2) ant I get this error
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
I tryed to install it manually but the pakcage parser says
"Sorry, but this modification does not appear to be compatible with the selected version."
Can you take a look at it please :)
Thanks!
Um....
Quote from: the mod's pageCompatible With: 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2
Doesn't say 2.0 RC2. Any RC2 version is unofficial and documented in this thread.
Quote from: petesky on February 02, 2010, 02:08:37 PM
If so - doesn't matter - my board has only 100 users at the moment and it will grow up to maybe 1000. Thats all. I had 38 users in max online so performance isn't a problem at the moment. Maybe SMF will have a prefix option in their future core ^^ when it becomes a pf question :-)
I don't see this as a core feature it's better as a mod
Quote from: Arantor on February 02, 2010, 02:51:09 PM
Um....
Quote from: the mod's pageCompatible With: 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2
Doesn't say 2.0 RC2. Any RC2 version is unofficial and documented in this thread.
Hey Arantor I read this here >
http://custom.simplemachines.org/mods/index.php?mod=1752 ::) ::)
QuoteFeatures:
o Support SMF 2.0 RC2: v1.2
o Support SMF 2.0 RC1: v1.1
Am I missing somehthing? (sorry if i did :-[)
Quote from: malcomxar on February 02, 2010, 06:00:59 PM
Quote from: Arantor on February 02, 2010, 02:51:09 PM
Um....
Quote from: the mod's pageCompatible With: 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2
Doesn't say 2.0 RC2. Any RC2 version is unofficial and documented in this thread.
Hey Arantor I read this here > http://custom.simplemachines.org/mods/index.php?mod=1752 ::) ::)
QuoteFeatures:
o Support SMF 2.0 RC2: v1.2
o Support SMF 2.0 RC1: v1.1
Am I missing somehthing? (sorry if i did :-[)
Yep, that I change the Supported Versions on the Mod Page but not in the readme ;)
hmmm - Nibogo - so if you are active here please tell us if it's possible to sort after prefix instead id_prefix ! Thank you.
I'm working on a new version of this mod finally with color on prefix and order for prefix! :) Plus option to set an image as a prefix and choose if the prefix is Bold, Underlined or Italic
Quote from: NIBOGO on February 13, 2010, 05:33:41 PM
I'm working on a new version of this mod finally with color on prefix and order for prefix! :) Plus option to set an image as a prefix and choose if the prefix is Bold, Underlined or Italic
have to try this out when its released thankyou
There is a mini bug even when editing a topic it will add extra whitespace if no prefix is selected and the whitespace grows up with every edit.
It should also set the correct prefix when editing and not the default one.
Quote from: NIBOGO on February 13, 2010, 05:33:41 PM
I'm working on a new version of this mod finally with color on prefix and order for prefix! :) Plus option to set an image as a prefix and choose if the prefix is Bold, Underlined or Italic
yeahhhhhhhhhhhhhhhh very nice
i cant wait :) :) :)
Hey nibogo will this one be compatible with 2.0 RC2?
Looking forward for it ^^
I would also appreciate an 2.0 RC2 release :)
Quote from: NIBOGO on February 13, 2010, 05:33:41 PM
I'm working on a new version of this mod finally with color on prefix and order for prefix! :) Plus option to set an image as a prefix and choose if the prefix is Bold, Underlined or Italic
Also cannot wait!!
Quote from: HorTs on February 16, 2010, 11:25:52 AM
I would also appreciate an 2.0 RC2 release :)
Obviouslly the new version would have 2.0 RC2 support
Quote from: Kcmartz on February 16, 2010, 01:49:22 PM
Quote from: NIBOGO on February 13, 2010, 05:33:41 PM
I'm working on a new version of this mod finally with color on prefix and order for prefix! :) Plus option to set an image as a prefix and choose if the prefix is Bold, Underlined or Italic
Also cannot wait!!
WOW same here i cannot wait, but i hope that this version work for smf 2 rc1 too
What would be better is SMF 2.x!!!
Esperando ansioso esta nueva version.
Muchas gracias por tu trabajo
Changelog:Version 1.3 -
Feb 19, 2009- Added Links to Pro Version with a lot of cool features.
- Fixed error with the script to load the latest release.
- Fixed wrong links on the readme file
Quote from: nestortoledo on February 19, 2010, 08:33:27 AM
Esperando ansioso esta nueva version.
Muchas gracias por tu trabajo
Looking for Advanced Features?If you are looking for more features like Color, Prefix Style,Prefixes Order, Prefix Image and a lot of additional features you maycheck:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpacks.com%2Fimagenes%2Fadvanced_topic_prefix.png&hash=975f59781609e52bf93758623d7b3c3091a7db11) (http://www.smfpacks.com/index.php?action=page;sa=atp)
Pro?! I don't have enough to pay for it, come on!!
If there was a TRIAL...
Quote from: Kcmartz on February 19, 2010, 09:42:52 AM
Pro?! I don't have enough to pay for it, come on!!
If there was a TRIAL...
The screenshots shows all the functionality of the mod plus it's the cheapest pro mod only $10 and works like a charm on SMF 1.1.11 and SMF 2.0 RC2
In any case you can use the lite version of the mod, I won't delete it or stop the development of the Topic Prefix Mod Lite
Btw new features for both versions are always welcome!
You did an excellent job nibogo, but make the module paid I don't think it's a good idea especially since smf itself is free
For my part I am in Morocco, 10 dollars is very expensive for me and it did not have access to paypal ... therefore impossible for us to pay online
shame if it was not paying your module is probably the most used module for smf
(Why not just add a link to the donation? Sure, there are people who can help you, but forced to pay ....)
Yeah, for those who use money of smaller value than USD, it'll get expensive, I'll ask my dad if he will let me pay for it...
Ok, I bought it! I haven't recieved email yet though...
It's been about 6 minutes...
Quote from: Kcmartz on February 19, 2010, 10:50:21 AM
Ok, I bought it! I haven't recieved email yet though...
It's been about 6 minutes...
Because I'm in the college and right know I'm in the middle of my class, anyway details by PM
Quote from: Am' on February 19, 2010, 10:05:54 AM
You did an excellent job nibogo, but make the module paid I don't think it's a good idea especially since smf itself is free
For my part I am in Morocco, 10 dollars is very expensive for me and it did not have access to paypal ... therefore impossible for us to pay online
shame if it was not paying your module is probably the most used module for smf
(Why not just add a link to the donation? Sure, there are people who can help you, but forced to pay ....)
I know of a lot of people will dislike the idea of make it a Paid Mod but it's a good idea unless for me the final developer of spent hours creating the mod and as you can see in the ATP's Page we accept almost all the payment system credit cards, debit cards and PayPal ;)
When you add "auto order" i will buy it.
Eg. i have a lot of class rooms. I enter them manually - 1a KMS, 1b KMS, 1d KMS and now 1c KMS (because i forgot). At the screenshot i can see, the up and down arrows but if you have a lot of these prefixes it can take some time to reorder them as needed. So if there is an option to do this alphabetically and automatic - i'll buy :-) Thx
Quote from: petesky on February 19, 2010, 11:33:42 AM
When you add "auto order" i will buy it.
Eg. i have a lot of class rooms. I enter them manually - 1a KMS, 1b KMS, 1d KMS and now 1c KMS (because i forgot). At the screenshot i can see, the up and down arrows but if you have a lot of these prefixes it can take some time to reorder them as needed. So if there is an option to do this alphabetically and automatic - i'll buy :-) Thx
I won't add that because that isn't a requested feature I think of only you will need it so you can continue without any kind of order in the Lite Version ;)
Quote from: NIBOGO on February 19, 2010, 11:33:22 AM
<SNIP>
Because I'm in the college and right know I'm in the middle of my class, anyway details by PM
<SNIP>
Thanks! Waiting for PM!
It's my request so i wait for the sorting. I think some others may also have a lot of prefixes and the manual sort is not very comfortable.
Yes, I agree, I do not know how many I will have ATM, but I might have alot more later on for my general discussion forum! This would be a nice update, or a "addon" for the mod!
Quote from: petesky on February 19, 2010, 11:43:17 AM
It's my request so i wait for the sorting. I think some others may also have a lot of prefixes and the manual sort is not very comfortable.
Quote from: Kcmartz on February 19, 2010, 11:46:42 AM
Yes, I agree, I do not know how many I will have ATM, but I might have alot more later on for my general discussion forum! This would be a nice update, or a "addon" for the mod!
I can't believe that Auto order prefix would be so requested, really I don't find it pretty useful but as I see that some people want it:
http://www.smfpacks.com/index.php?issue=10.0
If it isn't included in the mod when you download it, for a "addon" to the mod, that would be nice, as stated above!
Quote from: Kcmartz on February 19, 2010, 11:53:45 AM
If it isn't included in the mod when you download it, for a "addon" to the mod, that would be nice, as stated above!
It's easier to develop it as a feature of the mod so I don't have to update it every time I change the mod :)
In any case the code should be ready today as soon as I have access to my PC
Yay, can't wait!!
New Pro version with Auto Order and some changes you can check the changelog here:
http://www.simplemachines.org/community/index.php?topic=367213.msg2512137#msg2512137
About the lite version I know that a official 2.0 RC2 version is need it so I'll be updating the mod as soon as I have free time to do it please remember that the Paid Mods obviouslly have a more active development and priority
Hi ! I buyed yesterday but received no pm ?
Can you prove to us you bought it, if so, I will send you the file, with nibogo's permission!
Sure.
Thx (btw. i have no number shown right beside Personal Message indicating a new message) and i have an error:
Unknown column 'color' in 'field list'
Datei: C:\www\docs\user\nls\Sources\TopicPrefix.php
Zeile: 428
Quote from: petesky on February 23, 2010, 01:18:59 PM
Thx (btw. i have no number shown right beside Personal Message indicating a new message) and i have an error:
Unknown column 'color' in 'field list'
Datei: C:\www\docs\user\nls\Sources\TopicPrefix.php
Zeile: 428
Please ask for support in the ATP Support Board on SMFPacks or Open a new ticket ;)
I have done this already as you may can see ^^
NIBOGO: the prefix PRO work with smf 2 rc1 , if yes i will bought it too ;)
Quote from: edi67 on February 23, 2010, 02:13:27 PM
NIBOGO: the prefix PRO work with smf 2 rc1 , if yes i will bought it too ;)
I didn't test it so I'm not sure, in theory it should work but the admin panel shoulds looks pretty ugly :p
I'm going to test it and see if I can make it 2.0 RC1 compatible or if it works on it
Quote from: NIBOGO on February 23, 2010, 02:22:26 PM
Quote from: edi67 on February 23, 2010, 02:13:27 PM
NIBOGO: the prefix PRO work with smf 2 rc1 , if yes i will bought it too ;)
I didn't test it so I'm not sure, in theory it should work but the admin panel shoulds looks pretty ugly :p
I'm going to test it and see if I can make it 2.0 RC1 compatible or if it works on it
thx nibogo, i have smf 2 rc1 with a lot of modification official and mine and i dont want upgrade to rc2 now.
i wait news thx
Quote from: edi67 on February 23, 2010, 04:20:14 PM
Quote from: NIBOGO on February 23, 2010, 02:22:26 PM
Quote from: edi67 on February 23, 2010, 02:13:27 PM
NIBOGO: the prefix PRO work with smf 2 rc1 , if yes i will bought it too ;)
I didn't test it so I'm not sure, in theory it should work but the admin panel shoulds looks pretty ugly :p
I'm going to test it and see if I can make it 2.0 RC1 compatible or if it works on it
thx nibogo, i have smf 2 rc1 with a lot of modification official and mine and i dont want upgrade to rc2 now.
i wait news thx
Confirmed the ATP Mod works great on SMF RC1-2 tested on a fresh install :)
Nibogo, I still have that "?>" error, but I just found out it only shows when you are logged into my site! So, I won't be able to download updated one for a bit :( :(
Quote from: NIBOGO on February 24, 2010, 07:31:50 PM
Quote from: edi67 on February 23, 2010, 04:20:14 PM
Quote from: NIBOGO on February 23, 2010, 02:22:26 PM
Quote from: edi67 on February 23, 2010, 02:13:27 PM
NIBOGO: the prefix PRO work with smf 2 rc1 , if yes i will bought it too ;)
I didn't test it so I'm not sure, in theory it should work but the admin panel shoulds looks pretty ugly :p
I'm going to test it and see if I can make it 2.0 RC1 compatible or if it works on it
thx nibogo, i have smf 2 rc1 with a lot of modification official and mine and i dont want upgrade to rc2 now.
i wait news thx
Confirmed the ATP Mod works great on SMF RC1-2 tested on a fresh install :)
Excellent i registered in forum ATP but i dont receive activation email you can activate me ? so i will bought your mod
Quote from: Kcmartz on February 24, 2010, 07:36:14 PM
Nibogo, I still have that "?>" error, but I just found out it only shows when you are logged into my site! So, I won't be able to download updated one for a bit :( :(
Well, I know that you have issues with your forum, as soon as you fix it please install and test the ATP Mod :)
Quote from: edi67 on February 25, 2010, 11:49:34 AM
Excellent i registered in forum ATP but i dont receive activation email you can activate me ? so i will bought your mod
Done ;)
Hi ! Because NIBOGO didn't aswers in Bugtracker i may try it here. Is it possible, that the problem
Unknown column 'color' in 'field list'
Datei: C:\www\docs\user\nls\Sources\TopicPrefix.php
Zeile: 428
is along with this bug http://dev.simplemachines.org/mantis/view.php?id=2196 ?
Quote from: petesky on February 27, 2010, 07:29:28 AM
Hi ! Because NIBOGO didn't aswers in Bugtracker i may try it here. Is it possible, that the problem
Unknown column 'color' in 'field list'
Datei: C:\www\docs\user\nls\Sources\TopicPrefix.php
Zeile: 428
is along with this bug http://dev.simplemachines.org/mantis/view.php?id=2196 ?
I don't think so that error is cause to a problem when you tried to install the pro version after the lite in the v1.1 this has been fixed as you know in the latest releases
Hi nibogo!
A quick doubt... where is version 1.3? I can't find it here
http://custom.simplemachines.org/mods/index.php?mod=1752
Regards
Quote from: malcomxar on February 28, 2010, 06:43:50 AM
Hi nibogo!
A quick doubt... where is version 1.3? I can't find it here
http://custom.simplemachines.org/mods/index.php?mod=1752
Regards
It's the v1.2 that you can see there i just forget to change the 2
@NIBOGO
I found the error and i assume it's may due to the large update i have done few days before. May you can take a look into bug tracker to confirm. Thx
Hey but i can't install it on SMF 2.0 RC 2.
I get this error
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
And can't parse it either :(
NIBOGO you might wanna change the information on the package-info.xml
Instead of writing 2.0 - 2.0.99 it should be 2.0 - 2.0 RC2
Actually, no, it should be 2.0 - 2.0.99, 2.0 RC2 if there is compatibility with older 2.0 versions.
Quote from: Arantor on March 07, 2010, 08:34:21 AM
Actually, no, it should be 2.0 - 2.0.99, 2.0 RC2 if there is compatibility with older 2.0 versions.
Well, I can't seem to install the mod to 2.0 RC2 with that except I emulate the version to 2.0.
Using <install for="2.0 - 2.0.99, 2.0 RC2"> in the package-info.xml file (including all spaces)? I'm assuming that before trying it you actually set your forum back to the internal default using the revert button in Packages > Advanced?
version 1.3 isn't on there.
The Lite Version of this mod is going to be ported to SMF 2.0 RC3 as soon as I have time, for people with SMF 2.0 RC2 sorry but there is no version available only the pro, currently the Pro version already works on SMF 2.0 RC3:
http://www.smfpacks.com/index.php?action=page;sa=atp
Regards
Quote from: Arantor on March 08, 2010, 03:13:50 AM
Using <install for="2.0 - 2.0.99, 2.0 RC2"> in the package-info.xml file (including all spaces)? I'm assuming that before trying it you actually set your forum back to the internal default using the revert button in Packages > Advanced?
Yeah, I am guessing about the package-info.xml ;D
Quote from: NIBOGO on March 08, 2010, 08:30:04 PM
The Lite Version of this mod is going to be ported to SMF 2.0 RC3 as soon as I have time, for people with SMF 2.0 RC2 sorry but there is no version available only the pro, currently the Pro version already works on SMF 2.0 RC3:
http://www.smfpacks.com/index.php?action=page;sa=atp
Regards
The current free mod can be ported to 2.0 RC2 using the emulate, actually.
You only need to change the package-info.xml
Thing is if you're using emulate, you don't HAVE to change the package-info.xml, that is after all precisely what it is there for.
I cant install this.
when i try to install,
I get this error
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Quote from: ukhalik2 on May 15, 2010, 02:59:29 PM
I cant install this.
when i try to install,
I get this error
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Quote from: Nibogo on March 08, 2010, 08:30:04 PM
The Lite Version of this mod is going to be ported to SMF 2.0 RC3 as soon as I have time, for people with SMF 2.0 RC2 sorry but there is no version available only the pro, currently the Pro version already works on SMF 2.0 RC3:
http://www.smfpacks.com/index.php?action=page;sa=atp
Regards
ok, thanks, hope you will soon get the time ;)
Can you ompatible with smf1.1.11
This is not free.
http://www.smfpacks.com/index.php?action=page;sa=atp
Quote from: pointalk on May 16, 2010, 06:35:57 PM
Can you ompatible with smf1.1.11
This is not free.
http://www.smfpacks.com/index.php?action=page;sa=atp
That is the only version that is going to be available for SMF 1.1.X plus it includes a lot of additional features ;)
Waiting for 2.0 RC3 version compatibly ^^ o/ Nice work as always Nibogo(does we have a chance at all to have a free version of SMF Social too?) ^^
Well, I install it at smf 2.0 rc3, only ./Themes/default/Post.template.php gave error (test Failed), Can anyone help me in fixing this file?
Quote from: ukhalik2 on May 31, 2010, 04:58:30 PM
Well, I install it at smf 2.0 rc3, only ./Themes/default/Post.template.php gave error (test Failed), Can anyone help me in fixing this file?
Quote from: Nibogo on March 08, 2010, 08:30:04 PM
The Lite Version of this mod is going to be ported to SMF 2.0 RC3 as soon as I have time, for people with SMF 2.0 RC2 sorry but there is no version available only the pro, currently the Pro version already works on SMF 2.0 RC3:
http://www.smfpacks.com/index.php?action=page;sa=atp
Regards
I want to parse it for smf 2.0 rc1 but its still says although its written there that its compatible with 2.0 rc1,
QuoteSorry, but this modification does not appear to be compatible with the selected version.
AT LAST!!!! SucCESS!!!
I got it working for smf 2.0 RC3!
Fixed that out!!
Edit: I used this as [PREFIX], but prefix is also included in URL like mysite.com/board/(prefix)-topic-name/
is there anyway to stop this?
Quote from: ukhalik2 on June 01, 2010, 06:59:40 AM
AT LAST!!!! SucCESS!!!
I got it working for smf 2.0 RC3!
Fixed that out!!
Edit: I used this as [PREFIX], but prefix is also included in URL like mysite.com/board/(prefix)-topic-name/
is there anyway to stop this?
Not in the free version
... very nice MOD but does'nt work right :o
Installed is 1v2 (1v3 is'nt downloadable anywhere...) on a 2.0RC1.2. Creating prefixes working well but when I select only one board where the prefixes are to be available, the prefixes still displayed in all boards :-\
Quote from: M*I*B on July 07, 2010, 03:35:58 AM
... very nice MOD but does'nt work right :o
Installed is 1v2 (1v3 is'nt downloadable anywhere...) on a 2.0RC1.2. Creating prefixes working well but when I select only one board where the prefixes are to be available, the prefixes still displayed in all boards :-\
There is a known bug that show selection and prefixes when it shouldn't that is fixed in the pro version and it will be fixed here only if I have time and that isn't going to happend anytime soon.
I know I'm bumping a old thread but this is support and I don't know how to install it can anyone help me?
before i buy the advance mod i wanna ask one thing
is there an option that member have to pick a prefix in order to post the thread?
how about in lite ver?
I already replied to your email ;)
Yes, that features is included in paid version.
Will this be updated for SMF 2.0 RC4.0?
ok when Update dont forget portuguese
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Prefix Mod translate candidosa2
$txt['prefix_admin'] = 'Prefixo Painel de Administração';
$txt['prefix_add'] = 'Adicionar prefixo';
$txt['prefix_select'] = 'Selecione Prefixo';
$txt['prefix_no'] = 'Sem prefixo';
$txt['permissionname_prefix_manage'] = 'Gerir Prefixo no Tópico';
$txt['permissionhelp_prefix_manage'] = 'Define se o utilizador pode controlar o prefixo no Tópico.';
$txt['prefix_version'] = 'Prefixo no Tópico Versão ';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Prefix Mod translate candidosa2
$txt['prefix_admin'] = 'Prefixo Painel de Administração';
$txt['prefix_add'] = 'Adicionar prefixo';
$txt['prefix_select'] = 'Selecione Prefixo';
$txt['prefix_no'] = 'Sem prefixo';
$txt['permissionname_prefix_manage'] = 'Gerir Prefixo no Tópico';
$txt['permissionhelp_prefix_manage'] = 'Define se o utilizador pode controlar o prefixo no Tópico.';
$txt['prefix_version'] = 'Prefixo no Tópico Versão ';
]]></add>
</operation>
</file>
Other file in attach
is there a possibility to mod updated to RC4?
thanks
bumps for 2.0rc4
Well this is imbarrasing.. I believe i have blocked myself from my forum with this addon "Forum Firewall", how can i reaccess my forum again?
Here is a link to the instructions to disable the mod. http://www.simplemachines.org/community/index.php?topic=417490.msg2930255;topicseen#msg2930255
Evidently the mod excludes proxy IP addresses, so I think it is possible to exclude yourself from your own site with a 403 error (not absolutely positive though, because the mod author has not been too helpful to those that aren't proficient in these security issues).
EDIT: the mod author recently released a update (http://custom.simplemachines.org/mods/index.php?mod=2815) that addresses the proxy issue.
I don't think so, I'm waiting for SMF 2.0 final
Quote from: Nibogo on March 24, 2011, 11:00:00 PM
I don't think so, I'm waiting for SMF 2.0 final
Not good. :(
I really need it!
I agree i could really use it for RC5 :D
i got it working for RC5 :)
omg how lol
Quote from: !RFAN on April 30, 2011, 09:07:20 PM
i got it working for RC5 :)
Ooh yea :X
Send me please :D
+2 here also
i cant distribute the modified version. :(
ask management..
you can post the edits tho ;)
okay i can try..
Note: I installed it on a fresh install of SMF2 RC5 with default curve theme.
Extract the mod zip file
Open package-info.xml
Replace
<install for="2.0 - 2.0.99">
with
<install for="2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
and
Replace
<uninstall for="2.0 - 2.0.99">
with
<uninstall for="2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
Now open install.xml
replace
-- edited by IchBin to removed copyrighted code.
replace all the code of install.xml with the given above..
save both files..
zip all the files of the mod and upload it for install...
if management allow me i can share the modified version..
UPDATed
Thank you !RFAN.
Edit: For change colors of the prefix how to modify?
Redistribution of my mods, including code of them, isn't allowed.
Nibogo is there any chance you could update this for us.
Quote from: CrazieGrafix on May 02, 2011, 12:49:58 PM
Nibogo is there any chance you could update this for us.
Quote from: Nibogo on March 24, 2011, 11:00:00 PM
I don't think so, I'm waiting for SMF 2.0 final
missed that one thanks -=[Vyorel]=-
which stinks i could really use this.
I'll try to update this weekend, the thing is that I want to protect my creations.
I can understand that Nibigo and thank you.
Where can i change the language of viewtopic?
There is (no - prefix) but i like to change this to my own language,
Question... in the mod's page there's mentioned version 1.3, however there's links for versions 1.1 and 1.2 only
Where's version 1.3?
You'd use 1.2, 1.3 isn't that important
Nibogo have you had the chance to make this Rc 5 yet.
i make it work fine
is smf2.0rc5
can i ask how i tried and couldn't
What the error
Not able to install
give more detalles
I tried normal and advanced mode and i get
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Quote from: !RFAN on May 01, 2011, 10:18:08 PM
okay i can try..
Note: I installed it on a fresh install of SMF2 RC5 with default curve theme.
Extract the mod zip file
Open package-info.xml
Replace
<install for="2.0 - 2.0.99">
with
<install for="2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
and
Replace
<uninstall for="2.0 - 2.0.99">
with
<uninstall for="2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
Now open install.xml
replace
-- edited by IchBin to removed copyrighted code.
replace all the code of install.xml with the given above..
save both files..
zip all the files of the mod and upload it for install...
if management allow me i can share the modified version..
UPDATed
did see that exemplo..Update mod firt to make compatible....
i'm receiving PMs for edits. Please update the mod as soon as possible.
Thanks
2.0RC5 version, the installation, you can not find these lines:
// Now show the subject box for this post.
echo '
<tr>
<td align="right" style="font-weight: bold;"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">
', $txt['subject'], ':
</td>
Any idea?
I don't think this was updated yet for rc5.Probably waiting for final release.
I'm interested in, it will be free of this package is compatible with 2.0?
Quote from: WasdMan on June 15, 2011, 06:43:20 AM
I'm interested in, it will be free of this package is compatible with 2.0?
Lite version is free but doesn't came with more than the half of features that the PRO version and PRO is already working with 2.0 , lite isn't
Anyplans of updating lite version to 2.0?
Do not really want to!
can you add color to the prefixes?
Quote from: Jessica. on June 19, 2011, 10:12:29 PM
can you add color to the prefixes?
That was done only for the PRO version plus a lot of other features
Quote from: WasdMan on June 19, 2011, 10:52:34 AM
Do not really want to!
Isn't my responsability, it's a free mod I mean how people can complain about something free.
dang it. I can't afford to buy a pro version. oh well.
Someone I could do for free. Many of us not as a forum to buy the package.
I too will be looking elsewhere. I like how alot of mods now are going paid it's kinda funny.
Quote from: Jessica. on June 20, 2011, 11:11:41 AM
dang it. I can't afford to buy a pro version. oh well.
Sorry about that
Quote from: WasdMan on June 21, 2011, 04:29:27 AM
Someone I could do for free. Many of us not as a forum to buy the package.
Sure someone can do it for free, but I'm pretty sure he/she will be tired at some point of the lack of support from the community just like I did.
Quote from: CrazieGrafix on June 21, 2011, 09:18:28 AM
I too will be looking elsewhere. I like how alot of mods now are going paid it's kinda funny.
Oh yeah, that's so funny... And sure look elsewhere, after all I don't win anything if my free mods are used
Updated for SMF 2.0 Final
Hello Nibogo, I've a problem installing it, the system returns me an error happens installing this at ./Themes/default/Post.template.php , I've tried at two forums, one with modifications and other without modifications. Could you help me? Thank you very much!
Edit: I've installed in one of the two forums and when I edit a prefixed post, the prefix continues and doesn't overwrites if I change the prefix, it simply add the prefix next the last. For example, if I've the prefix "request", when I change the prefix for "solved" the subject is "solved request etc". Could you check it? thank you for your mod!
Hey, that's exactly how the lite version works, if you want the normal behaviour (you can change the prefix, add colors, format and a bunch of other features) you'd see the PRO Version, it's quite cheap after all: http://www.smfpacks.com/page/sa=atp otherwise sorry but I can't help you, I won't add new features to this lite version due to my limited time
Ok Nibogo, thanks! :D
No problem :)
Nice Mod Friend!
:P From whom I learned? :P
here i attach fixed version for SMF 2.0
--edit by ichbin
Removed attached file at mod authors request.
Just for the record, I asked that the attachment from the last post were removed
Hello,
Help, i receive an error sql :
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6
Fichier:db_prefix.php
Ligne: 54
Thank's
Quote from: WasdMan on June 11, 2011, 01:44:02 AM
2.0RC5 version, the installation, you can not find these lines:
// Now show the subject box for this post.
echo '
<tr>
<td align="right" style="font-weight: bold;"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">
', $txt['subject'], ':
</td>
Any idea?
I installed it after doing some manual editing. I haven't noticed any problems with the mod (yet) after installing it my way.
Here's what you must do:
Open Post.template.php.
Find:
// Now show the subject box for this post.
Then replace with:
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';
foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's
// Now show the subject box for this post.
You'll have to do that bit of the installation manually, then proceed with the normal installation.
The lite version doesn't seem to have any features other than adding the prefix. It doesn't seem any different from typing in the prefix yourself in the topic subject. I guess the pro version has all the features.
But the author is right in saying it's cheap. It only costs $15.
Its gives me error
There was a problem loading the /Themes/default/Post.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
It wasn't installed property you must check that file and fix the issue found
Hello,
I've installed Prefix Topic lite mod, but is missing in New Topc Select Prefix window, please see attachment.
thank you
Hello,
Topic Prefix Lite mod is installed and working, but will not be displayed. See above my post.
Thank you
Very cool mod Nibogo. I dig it bro. ;)
For those that could be interested, Advanced Topic Prefix v3.0 has been released allowing to search by prefix, set html format and more! Here's the announcement:
http://www.smfpacks.com/b1/advanced-topic-prefix-v3-0-released/635/
from what I see, I can only buy licence for one forum? If I have two forums I have to buy this mod twice?
And, can you fix "link to mod" in first post? Now it's redirecting to YAGAM :)
Question about pro version in PM or in SMFPacks.com
Where can I find the 1.x version?
SMFPacks Pro, but isn't from the latest 3.0 branch.
Quote from: Nibogo on January 31, 2012, 09:14:13 PM
SMFPacks Pro, but isn't from the latest 3.0 branch.
Could you provide the link to the proversion?
Overview : http://www.smfpacks.com/page/sa=atp
Features : http://www.smfpacks.com/page/sa=atp_features
Demo Pics : http://www.smfpacks.com/page/sa=atp_screenshots
Prefix MOD comparisons : http://www.smfpacks.com/page/sa=atp_compare ( the $10 price listing i believe is out of date )
Quote from: hcfwesker on January 31, 2012, 10:42:28 PM
Overview : http://www.smfpacks.com/page/sa=atp
Features : http://www.smfpacks.com/page/sa=atp_features
Demo Pics : http://www.smfpacks.com/page/sa=atp_screenshots
Prefix MOD comparisons : http://www.smfpacks.com/page/sa=atp_compare ( the $10 price listing i believe is out of date )
Very nice, thanks
Thanks hfcwesker
can you update the Lite Mod for 2.0.2 please?
Quote from: neo2504 on February 11, 2012, 01:26:54 PM
can you update the Lite Mod for 2.0.2 please?
The current free version (http://custom.simplemachines.org/mods/index.php?mod=1752) works with 2.0.2. Try it.
I have a little problem with this mod. In creating new topics or posting messages if I don't select any prefix, it adds a space before "Re:" or the title, and a space after it. How to fix it?
Thank you.
Great mod! I have it installed on my forum and it works great :)
However, I'm having just a small problem.
Whenever I insert a prefix like "[Myprefix]" and look at the linktree, there are two spaces extra. In the title and everything it's fine, just the linktree.
Also, when I edit a post with such a prefix, the two "mysterious" spaces are also there.
This doesn't happen when I manually add another prefix without the mod's help.
Could this maybe be fixed?
Thanks!
Quote from: Yoshi2889 on February 22, 2012, 04:06:01 PM
Great mod! I have it installed on my forum and it works great :)
However, I'm having just a small problem.
Whenever I insert a prefix like "[Myprefix]" and look at the linktree, there are two spaces extra. In the title and everything it's fine, just the linktree.
Also, when I edit a post with such a prefix, the two "mysterious" spaces are also there.
This doesn't happen when I manually add another prefix without the mod's help.
Could this maybe be fixed?
Thanks!
It's the same I have posted the post before yours. It's a bug!
The same also happens if you do not set any prefix...
Please fix it!
Quote from: smartmouse on February 22, 2012, 07:24:45 PM
Quote from: Yoshi2889 on February 22, 2012, 04:06:01 PM
Great mod! I have it installed on my forum and it works great :)
However, I'm having just a small problem.
Whenever I insert a prefix like "[Myprefix]" and look at the linktree, there are two spaces extra. In the title and everything it's fine, just the linktree.
Also, when I edit a post with such a prefix, the two "mysterious" spaces are also there.
This doesn't happen when I manually add another prefix without the mod's help.
Could this maybe be fixed?
Thanks!
It's the same I have posted the post before yours. It's a bug!
The same also happens if you do not set any prefix...
Please fix it!
I don't have the issue when not setting a prefix though.
I have the same issue in both cases.
I tried SMF Topic Prefix Mod on a 2.0.2. forum, but it resulted in:
"At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF."
The step its hung up on is:
"10. Execute Modification ./Themes/default/Post.template.php Test failed"
I've read some tutorials about a manual install, but I hesitate to do so. Any ideas on what I might try? Thanks.
The creator of this mod doesn't offer support for the free version (he told me via PM).
We have to fix the bugs and problems by ourselves :(
Quote from: smartmouse on March 04, 2012, 12:21:24 PM
The creator of this mod doesn't offer support for the free version (he told me via PM).
We have to fix the bugs and problems by ourselves :(
That's just awful. Well then, lets take a peek at it.
Yes, when I'm in university period I cannot do my free-time activities like Free mods
Quote from: smartmouse on March 04, 2012, 12:21:24 PM
The creator of this mod doesn't offer support for the free version (he told me via PM).
We have to fix the bugs and problems by ourselves :(
To be fairly honest, he didnt have to offer a free version. but it's meant as a testing ground if you wanted to try it before buying the paid version, which the paid version blows the free version out of the water! I bought it as soon as i found out about it.
Quote from: Rivet on February 29, 2012, 06:07:51 PM
I tried SMF Topic Prefix Mod on a 2.0.2. forum, but it resulted in:
"At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF."
The step its hung up on is:
"10. Execute Modification ./Themes/default/Post.template.php Test failed"
I've read some tutorials about a manual install, but I hesitate to do so. Any ideas on what I might try? Thanks.
I'm getting the same issue... It doesn't seem like a difficult fix, but I too am hesitant to try anything since I'm pretty new at the whole SMF thing :)
It says that it is failing on the replace step, so I'm thinking changing
// Now show the subject box for this post.
echo '
<tr>
<td align="right" style="font-weight: bold;"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">
', $txt['subject'], ':
</td>
to this:
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';
foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's
// Now show the subject box for this post.
Now does that mean that I need to simply REPLACE the code? Because with the comment //Now show the subject box for this post comment, it looks as though I add it before. :scratches head:
I'm a Java, C++ guy... New to this PHP business :P
EDIT: I got it figured out! If you just add it manually before where it says // Now show the subject box for this post , it works perfectly. Thanks!
Quote from: //Cody on March 15, 2012, 09:41:43 AM
Quote from: Rivet on February 29, 2012, 06:07:51 PM
I tried SMF Topic Prefix Mod on a 2.0.2. forum, but it resulted in:
"At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF."
The step its hung up on is:
"10. Execute Modification ./Themes/default/Post.template.php Test failed"
I've read some tutorials about a manual install, but I hesitate to do so. Any ideas on what I might try? Thanks.
I'm getting the same issue... It doesn't seem like a difficult fix, but I too am hesitant to try anything since I'm pretty new at the whole SMF thing :)
It says that it is failing on the replace step, so I'm thinking changing
// Now show the subject box for this post.
echo '
<tr>
<td align="right" style="font-weight: bold;"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">
', $txt['subject'], ':
</td>
to this:
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';
foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's
// Now show the subject box for this post.
Now does that mean that I need to simply REPLACE the code? Because with the comment //Now show the subject box for this post comment, it looks as though I add it before. :scratches head:
I'm a Java, C++ guy... New to this PHP business :P
EDIT: I got it figured out! If you just add it manually before where it says // Now show the subject box for this post , it works perfectly. Thanks!
YESS!! Thank you for the update!! I just plopped the code in place of the existing // Now show the subject box for this post. and it worked beautifully! :)
Trying to find the trigger that only allows full administrators from accessing this mod.
I have a group that have admin access, but not full blown admin, when they attempt to add a prefix, they get the following error:
You do not have permission to access here
has anyone seen this?
I installed it but I can't find the settings for it.
Hi all
Is someone willing to help? I am trying to get this working on a 2.0.2 installation. That said, my Post.template.php doesn't seem to be right.
When I tried to install, I got the "10. Execute Modification ./Themes/default/Post.template.php Test failed" that others have gotten. So, I continued with the install, with the intention of manually adding what I need into Post.template.php
This is where I am stuck now though :( (Admin is working fine, I can add/edit prefix etc...I just can't display them anywhere)
When I look for //Now show the subject box for this post. Mine looks quite a bit different:
// Now show the subject box for this post.
echo '
<dt>
<span', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">', $txt['subject'], ':</span>
</dt>
<dd>
<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" class="input_text" />
</dd>
<dt class="clear_left">
', $txt['message_icon'], ':
</dt>
<dd>
<select name="icon" id="icon" onchange="showimage()">';
If someone could help me edit this to get the prefix mod working, I would really appreciate it.
Many thanks
*****EDIT******
Never mind, I tried again and it worked....great mod :D
I just checked out this mod and I have a fix for the alphabetical listing issue.
in Sources/Post.php find:
ORDER BY id_prefix DESC',
replace with:
ORDER BY prefix',
...and there ya go.
Here is the install.xml fix for 2.0.2 users
Replace the old code (not the whole file!) with this
<file name="$themedir/Post.template.php">
<operation>
<search position="after"><![CDATA[// Now show the subject box for this post.
echo '
<dt>
<span', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">', $txt['subject'], ':</span>
</dt>]]></search>
<add><![CDATA[// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';
foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
echo'
</select>
</dd>';
}
// Here Topic Prefix Mod Ends
]]></add>
</operation>
</file>
i suggest everyone who installed this mod change this line from Post.php
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
into something that doesn't make the prefix looks awkward, like
$_POST['subject'] = '[' . $_POST['post_prefix'] . '] ' . $_POST['subject'];
@Mod Author
Can you please update this to 2.0.2?
tried installing this mod and got this error
Any ideas?
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM CHARACTER SET utf8' at line 6
File: /xxxx/xxx/xxxxx/Packages/temp/db_prefix.php
Line: 54
would anyone have any idea on why this is happening.
Well, more recent versions of MySQL require ENGINE=MyISAM instead of TYPE=MyISAM.
The problem is that the mod author was a touch lazy when writing this for 2.0. There is a proper method for creating tables in 2.0, $smcFunc['db_create_table'] but the author didn't use it, and now that MySQL has updated how it works, the mod needs to be updated too (as opposed to using SMF's own method that was already updated internally)
Is there a way I could edit something to make it work. Not that I would know how to do it lol
Ideally the mod author should fix it, but failing that, unpacking the file to your computer, and modifying db_prefix.php in it to change all instances of TYPE=MyISAM to ENGINE=MyISAM, rezipping it then uploading it.
ok thank you very much.
worked great thanks again.
Quote from: Arantor on January 06, 2013, 06:25:38 PM
Ideally the mod author should fix it, but failing that, unpacking the file to your computer, and modifying db_prefix.php in it to change all instances of TYPE=MyISAM to ENGINE=MyISAM, rezipping it then uploading it.
Thank you :) this information should be added to the first post!
No, it shouldn't, the author should go away and fix it, ideally doing it properly this time.
You are right. i try the mod now but this is just editing the title of topic. Not look like actual prefix. maybe he is right to about not update the mod :D
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FY0IqTqZ.png&hash=980a8691e63ea4325978a7676e36aca1c021f06b)
Quote from: Skaty on January 26, 2013, 09:58:11 PM
You are right. i try the mod now but this is just editing the title of topic. Not look like actual prefix. maybe he is right to about not update the mod :D
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FY0IqTqZ.png&hash=980a8691e63ea4325978a7676e36aca1c021f06b)
That is totally true; however, the pro version: http://www.smfpacks.com/page/sa=atp works as an actual prefix
Have you seen the Post.template.php code?
Why you added smf version 2.x as a correct install?
SMF stuf should put this mod on quarantine?
BTW...
Repacking it and sharing a fixed version will infringe the autor copyright (or whatever)?
Just two minor changes and it works ok...
Anyway... did not like it too much, uninstalled :-P
Quote from: Arantor on January 06, 2013, 06:25:38 PM
Ideally the mod author should fix it, but failing that, unpacking the file to your computer, and modifying db_prefix.php in it to change all instances of TYPE=MyISAM to ENGINE=MyISAM, rezipping it then uploading it.
I did this and still get this error when I try to install - see attachment.
The described change was NOT for your problem, it was for a database issue in the mod's installer. Your problem is because there is something different in Post.template.php that conflicts with this mod.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpokit.org%2Fget%2Fimg%2Fee4a35444297b65e6785685fc1d16d86.jpg&hash=a2670cb7507c9d98aaae92e3f4b951e0cfe663d3)
What is the problem
Quote from: Arantor on April 30, 2013, 03:45:53 PM
Your problem is because there is something different in Post.template.php that conflicts with this mod.
You must manually modify that file.
Hello All,
I manage to install the topic prefix but can't see any options to select when posting topic relating to prefix.
Can any one help please.
OK I got it installed ;D, but now when try to post a new topic or reply i get this error. I posted on the DEv's website but i figure i would also ask here since there is a lot of SMF experienced users.
QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/Post.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected '<' in .../Themes/default/Post.template.php on line 218
209: <option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
210:
211: echo'
212: </select>
213: </dd>';
214: }
215: // Here Topic Prefix Mod End's
216:
217: // Now show the subject box for this post.
218: <dd>
219: <input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" class="input_text" />
220: </dd>
221: <dt class="clear_left">
222: ', $txt['message_icon'], ':
Can anyone shed some light on this for me?
Thank you
When trying to install my "SMF Topic Prefix Mod" I get the error:
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6
File: /home/pulsive/public_html/maintenance/Packages/temp/db_prefix.php
Line: 54
One major reason i need this fixed is because, I cannot post anything on my forum with this problem, When trying to post I get this error:
Table 'pulsive_gamersdecoded.smf_prefix' doesn't exist
File: /home/pulsive/public_html/maintenance/Sources/Post.php
Line: 1214
I've attached both my "Post.php" file and my "db_prefix.php" file... I really need this fixed and YES, I KNOW "Don't forget to back up" don't say that... I need this fixed A.S.A.P please...
So I'm trying to install Prefix mod and..
In Post template
Find:
// Now show the subject box for this post.
echo '
<tr>
<td align="right" style="font-weight: bold;"', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">
', $txt['subject'], ':
</td>
Replace:
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';
foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's
// Now show the subject box for this post.
And I get this when I post
Parse error: syntax error, unexpected '<' in .../Themes/default/Post.template.php on line 218
209: <option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';
210:
211: echo'
212: </select>
213: </dd>';
214: }
215: // Here Topic Prefix Mod End's
216:
217: // Now show the subject box for this post.
218: <dd>
219: <input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" class="input_text" />
220: </dd>
221: <dt class="clear_left">
222: ', $txt['message_icon'], ':
I guess I haven't done it proper, I noticed what it asks me to find the ending it a bit different to what is actually in the post template.. Can anyone edit it to make it work please?
Thank you!
I seem to be having a bit of a problem.
I'm able to add a prefix and set the board on which it is to be used and the groups that can use it fine, but if I add a second one it will overwrite the first one that I made, and if I try to edit the one that is there it'll tell me that I haven't selected a prefix to edit.