Link to Mod (http://mods.simplemachines.org/index.php?mod=38)
This provides the functionality for redirecting users when they enter certain boards. Several new options will appear in the "Modify Boards" section of the admin center.
NEW! Version 2.01 released (September 30th, 2006)!
New features:
No new features in this version. Just bugfixes and compatibility with 1.0.8 and 1.1 RC3
Note: Due to the number of bugs in 2.0, you can't upgrade from it. You will need to uninstall it first and re-install this version instead.
Let me know if you have any problems or questions.
Update (9/30/06): Fixed some more bugs and updated the mod to work with 1.0.8 and 1.1 RC3...
Screenshots attached...
First screenshot shows default "Modify Board" screen.
Second screenshot shows several additional redirection boards settings that show up after you check the "Make this a redirection board" box (ah the fun of Javascript).
The third screenshot shows a default redirection board. The "--" column can be hidden by checking the box next to Hide "topics and posts" for redirection boards in the "Edit Features and Options" section (1.0.x) or "Manage Boards -> General Settings" section (1.1). If you aren't counting clicks, "N/A" is displayed instead of the number of clicks.
Test: http://smf.oldiesmann.us/index.php / http://smf.oldiesmann.us/index.php?board=93
When I try to install the mod, I get this message:
QuoteFatal error: packageinstall(): Failed opening required '/home/www/web62/html/forum/Packages/temp/RedirectPdb.php' (include_path='.:/usr/share/php') in /home/www/web62/html/forum/Sources/Packages.php on line 437
My server is in safe mod. What can I do?
Set "Packages" folder at 777 ;)
QuoteSet "Packages" folder at 777
I have the folder at 777. But when I set the "temp" folder to 777, after I run the script, the "temp" turns to 755. Perhaps there is the problem. But how can I fix it?
Can you download the mod onto your server and make sure that redirectdbP.php exists, just incase I missed it. Otherwise you could download it to your PC, edit packages-info.xml to remove the reference to redirectdbP.php, re tar it and upload it again, this should hopefully make the "install" work. You then need to make the SQL changes, which should be easy to do by looking in redirectDBp.php and using phpMyAdmin to do the queries... hope this makes some vague sense :P
Now the installation of ...-Core works.
When I want to install ...-Baby, I get this message:
QuoteInstall Actions for archive redirect-baby_v1_2.tar.gz:
There are no installation or uninstallation actions defined!
I have just installed ...baby.mod manually.
:D Thx. It works great for me.
Here is the txt for Modifications.german.php:
$txt['redirect_enable'] = 'Aus diesem Board ein Weiterleitungs-Board machen';
$txt['redirect_enable_desc'] = 'Das wird jeden Nutzer, der versucht Zugang zu diesem Board zu bekommen, zu einer URL Ihrer Wahl weiterleiten.';
$txt['redirect_location'] = 'URL, zu der weitergeleitet werden soll';
hi
i've downloaded all the files, and installed them fine.... it says they have installed successfully in the package manager, but when i got into the 'manage boards' section of my control panel.... nothing is different, and i can't find where to use this mod....
am i looking in the right places? there is nothing in the 'modify board' section, or the permissions, or if i click 'modify' on any of my existing boards.... ::)
It should appear in the modify board area, near the option for "Override members theme". If it isn't Check modifications.english.php in your languages directory to confirm the changes have indeed been made. You did hit "Proceed" after the initial list of "Successes" didn't you (i.e the first page of applying is a mod is a test, you have to hit proceed to actually make the changes)
Very nice mod thanks :)
Hey grudge,
no nothing is there, and i have the installation saying it's been successful, with all the ticks in package manager etc etc.... i'm thinking of uninstalling it, and then re-installing it again just to see if that does anything..
Just a thought though, i'm not using the normal theme, i'm using 'themesis' downloaded from here.... would that have anything to do with it?? I noticed that when it's installed it has "classic theme extras" and "babylon theme extras".... i'm not using either!!! is that gonna have anything to do with it???? :-\ :-\ :-\ :-\ :-\ :-\
I really could do with this mod too :'(
James 8) 8)
Ummm... if you are using a different theme then you will need to manually edit index.template.php I'm afraid. However, the language file *should* still have been edited. I assume the theme you are using doesn't have a full set of templates in the folder (i.e ManageBoards.template.php doesn't exist in that theme directory!)
Assuming ManageBoards.template.php doesn't exist in your themesis directory then the install definetly didn't work. There is definetly a "green" label next to the mod name in the package manager though? Strange.
Hi grudge....
what do i need to manually replace then in the php files?? or is this going to be a nitemare to sort out on my theme :'( :'( :'(
Download the package for the "Babylonkin" theme, extrac it (it's a tar.gz file) and look at the mod file in the tar.gz file. Just follow the search/replace guide for your theme of choice - it should only be 1 or 2 manual changes. Just make sure you have the mod installed and appearing on Manage Boards BEFORE you make these changes ;)
Very nice work on this mod grudge, sorry for activating this topic again. I think maybe instead of the default theme "Extras" , they should be default ;). I also think maybe instead of using off.gif for the image that they could have thier own image. Thats my 2 cents for this mod :P My old board used to have these, thanks!
The reason why are seperate is because if someone has modified either of the themes I didn't want to force it to fail. They could indeed have their own image, but I'll leave that to the board users - as I'm not artist :P
lol ok, another question. For the theme extras, is it possible to show how many times that link has been clicked?
Not at the moment Jerry, Could probably be done by using the numViews column on boards, and increasing that every click. I'm just short of time at the moment, someone could probably code it up in 20 minutes though :|
Very nice mod Grudge!
Can you make it available for Bloc's Helios PLEASE!!!???? :) ;)
what would i have to change to make the redirect open in a new window ?
i have looked and not too sure with php *sigh*
thanks in advance.
vagrant
Hmmm... Good question... Grudge?
so, anyone found how to redirect in another new window? I dont want to people to leave forum
and conts also will be nice, and useful ofcourse
tks
It wouldn't be hard to make it redirect to a new window. In the template changes, just just the <a href="..."> to <a href="..." target="_blank">.
As for counting hits, that's pretty easy too, althugh it would mean adding an inbetween...
-[Unknown]
is this working with 1.0.3 ? I get the following error when applying the mod:
4. Execute Modification ./Sources/ManageBoards.php Failure
yes, it works both on 1.0.2 and 1.0.3, also works fine after upgrading from 1.0.2 to 1.0.3
but, I did actually realize that:
because is not counting the visits, and because in right side always display 0 posts in 0 topics, users don't use those links.
in my old forums (phpbb) use to have 40 to 50 daily visits on each of three links like that, now I'm counting 10 visits in total :( sad isn't it?
and so, a great mod became useless; it's your decision to install or not, mod works but no one see :)
is anyone working on this mode?
OK, I've installed this mod (forgive the lay-ness of this post - it's all I speak). Everything said "Success". I'm actually not seeing any new options in the "Manage Boards" section (didn't see anything that said "Modify Boards").
What I wanted to do:
I have an SMF forum located at the root of my domain. In a subfolder of the same domain, I have a photo album (coppermine) installed. I want to put a link to coppermine (and vice versa on the coppermine pages), so that forum members can go back and forth between the two applications. Is this the right application to do this (from the SMF end)? How would I go about doing this?
Success is just for the test. Have you actually proceeded with the installation?
-[Unknown]
Sorry, yes. Each time it presented me with a [Proceed] link, and each time I pressed it with no errors.
Just to confirm, my installed.list says:
Spam-me-not|^|Spam-me-not1.0.1.zip|^|CSpotkill:Spam-me-not|^|1.0.1
Redirection Boards - Core|^|redirect-core_v1.12.tar.gz|^|grudge:redirect1.12|^|1.12
Redirection Boards - Classic Theme Extras|^|redirect-classic_v111.2.tar.gz|^|grudge:redirect_classic1.12|^|1.12
Redirection Boards - Babylon Theme Extras|^|redirect-baby_v111.12.tar.gz|^|grudge:redirect_baby1.12|^|1.12
As for this post from Grudge:
Quote from: Grudge on October 25, 2004, 07:10:51 AM
Can you download the mod onto your server and make sure that redirectdbP.php exists, just incase I missed it. Otherwise you could download it to your PC, edit packages-info.xml to remove the reference to redirectdbP.php, re tar it and upload it again, this should hopefully make the "install" work. You then need to make the SQL changes, which should be easy to do by looking in redirectDBp.php and using phpMyAdmin to do the queries... hope this makes some vague sense :P
This one made only the vaguest sense to me (but I am a lay-Newb, so there's two strikes there) -
I ftp explored all folders and could find neither redirectdbP.php or packages-info.xml - in fact, I did a search on each of these files and found no reference to either of them anywhere else on the boards. Am I supposed to have them?
(the "...make the SQL changes, which should be easy..." scared the hell out of me, btw.)
OK, I found it. I went into Manage Boards, selected "Modify" next one of my categories, and one of the options presented to me was:
Make this board a redirection board
This will redirect any user attempting to access this board to a URL of your choice
When you create a new board, the same option is presented.
GREAT MOD, THANK YOU.
NOTE: At first I redirected to a subfolder on my site (to Coppermine, which I have integrated with SMF), using the full URL (http://mydomain.com/coppermine) - but whenever I selected the link, it brought me to to the coppermine folder OK, but it showed me as not logged in. Logging in didn't help, and I had no admin status. After a lot of scratching, experimenting and troubleshooting, I changed the redirection link to just "/coppernine" without the http:// or domain references. Worked like a charm, although I still don't know why.
Thought I'd throw that out there in case someone else runs into the same problem.
I have a bit of a feature request... any way to remove "0 posts 0 topics"? This makes it look like a discussion board that nobody goes to.
Can we get this updated to 1.0.5?
It should be fine for 1.05 I thought. Well it is working for me! I also have it working for 1.1 Beta 3 public.
Yeah works for me in 1.0.5 as well.
Hmm, will have to pla around more. The package manager was complaining. Thanks.
Quote from: drhamad on June 28, 2005, 11:43:39 AM
I have a bit of a feature request... any way to remove "0 posts 0 topics"? This makes it look like a discussion board that nobody goes to.
it looks like no one is taking care of this mod. With 0 posts and 0 topics this mod became useless.
Quote from: winnet on July 10, 2005, 04:49:05 PM
Quote from: drhamad on June 28, 2005, 11:43:39 AM
I have a bit of a feature request... any way to remove "0 posts 0 topics"? This makes it look like a discussion board that nobody goes to.
it looks like no one is taking care of this mod. With 0 posts and 0 topics this mod became useless.
Yeah, it makes it look like a board that no one visits :(
Quote from: SeaOfSin on July 08, 2005, 03:49:06 AM
I also have it working for 1.1 Beta 3 public.
When I try to install it on Beta 3, I get a warning from the Package Manage.
3. Execute Modification ./Sources/Load.php Test failed
"It is strongly recommended that you do not continue with installation unless you know what you are doing"
Did you just proceed past that ...or what?
I wouldn't install it if the step failed. I'll have to try and update this mod for SMF 1.1 I guess :/
Also - for the people who get 0 posts/0 replies - have you installed the "theme" packages or not? They *should* remove those figures I thought?
What you need to do is proceed and then edit Load.php
What needs to be changed is
b.ID_THEME, b.override_theme, b.use_local_permissions
instead of looking for that it needs to find
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
and add
, b.redirect
after it.
I believe that is the only change needed!
it works fine for me! :)
I've got this mod installed on a 1.1 beta 3 board using the default theme and I dont see a special package on the mod page to get rid of the 0 posts 0 topics anyway there could be a default added also?
hmm same problem!!! how can we get rid of the 0 post count?
Since I don't seem to see anyone trying to resolve this issue themselves and until the mod writer steps in, here is a quick fix for you people who don't want post count to show on boards with zero posts and topics. now this isn't just for redirection boards it will do it for any board like this!
Open BoardIndex.template.php
Find
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="smalltext" valign="middle" width="22%">';
and replace
if(empty($board['posts']) && empty($board['topics']))
{
echo '
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
</span></td>';
}
else
{
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>';}
echo'
<td class="smalltext" valign="middle" width="22%">';
Now hopefully that will make a few people happy! :)
Also if you want something in place of nothing in the spot for 0 posts and 0 topics. put something between
<span class="smalltext">
and
</span>
Any questions? :P
By the way this took me about 10 minutes to write and I have only used php for 4 months! :)
Try stuff out get yourselves a test forum and test things that is what it is there for..... and it is the best way to learn!
Now back to our regularly scheduled programming!
thanx a bunch! working good now :D
Quote from: David on July 08, 2005, 11:19:13 AM
Hmm, will have to pla around more. The package manager was complaining. Thanks.
Fixed :)
I'll try to update it to 1.1 Beta 3 Public soon.
maybe you will find a little time to implement the counting of visitors features.
10x
Quote from: Oldiesmann on July 28, 2005, 06:39:05 PM
I'll try to update it to 1.1 Beta 3 Public soon.
Thanks that is what I was going to ask for
I'm having an issue with this mod on my forum, version 1.1B3.
I tried to download the mod manually, and when i attempt to upload to the forum i always fet a corruption error. So i tried through the PM and when i click install it gives me this error (regardless of the theme i use):
Fatal error: packageinstall(): Failed opening required '/home/sbilling/public_html/forum/Packages/temp/./RedirectPdb.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sbilling/public_html/forum/Sources/Packages.php on line 499
Is there a way to do this by hand? If it matters the one in the PM says version 1.12
anyone?
Quote from: Oldiesmann on July 28, 2005, 06:39:05 PM
Quote from: David on July 08, 2005, 11:19:13 AM
Hmm, will have to pla around more. The package manager was complaining. Thanks.
Fixed :)
I'll try to update it to 1.1 Beta 3 Public soon.
This is a nice mod, I'd like to use, Just wondering if it still will be updated for 1.1. It seems to break on Sources/Load.php
Ditto, I'd love it to work for 1.1 - all my users are ignoring redirections in posts while they did click on the board redirects (curiosity killed the cat...).
I've got this running on 1.1 beta 3 and it seems to work fine...check it out at www.twuclan.net/forums/
anyone working on this mod?
:-\
is it updated for 1.1 beta 3 yet?
update for RC1?
I think that this mod have to been incluse in the official smf package.
Umm..I'm kinda a n00b to SMF, but how do you install this? And where do you upload this?
dk
yea this for rc1 would be sweet
I should have an updated version available for 1.1RC1 soon.
Quote from: dknoppix on September 28, 2005, 05:55:09 PM
Umm..I'm kinda a n00b to SMF, but how do you install this? And where do you upload this?
dk
What version of SMF are you using?
I get this error when trying to install the mod via Package manager - Im using v1.0.5
2: copy(/home/true/public_html/bhudzmu/forums/Sources/Load.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /home/true/public_html/bhudzmu/forums/Sources/Subs-Package.php
Line: 1304
It appears after i click on [Proceed], the sceen before says everything has suceeded.
Can anyone help?
Andy
is anyone still working on this mod?
if no, is better to removed from list
or maybe will be default integrated in next releases?
Quote from: bhudzmu on October 22, 2005, 09:39:53 AM
I get this error when trying to install the mod via Package manager - Im using v1.0.5
2: copy(/home/true/public_html/bhudzmu/forums/Sources/Load.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /home/true/public_html/bhudzmu/forums/Sources/Subs-Package.php
Line: 1304
It appears after i click on [Proceed], the sceen before says everything has suceeded.
Can anyone help?
Andy
Delete Sources/Load.php~ (note the ~ on the end) and try again.
winnet - I am still working on this. I've been really busy and haven't had much time to do anything with it.
Just a little curious here - any chance of this being updated to work with 1.1 RC1?
I have 1.1 RC1, this fails to execute in Load.php, and ManageBoards.php.
Anyhelp would be appreciated :)
Quote from: Oldiesmann on October 06, 2005, 05:33:08 PM
I should have an updated version available for 1.1RC1 soon.
I can't wait to see it! Any ETA? ;D
Quote from: Teknomancer on November 16, 2005, 09:09:30 AM
I have 1.1 RC1, this fails to execute in Load.php, and ManageBoards.php.
Anyhelp would be appreciated :)
Quote from: Mattitude on November 11, 2005, 08:47:36 AM
Just a little curious here - any chance of this being updated to work with 1.1 RC1?
I second that!
any news? no
I think it will be better to remove this from the list
RIP.
I've been busy and haven't had time to update it. I will try to get it updated by the end of the week, but I can't guarantee anything.
Quote from: Oldiesmann on December 13, 2005, 08:46:58 PM
I've been busy and haven't had time to update it. I will try to get it updated by the end of the week, but I can't guarantee anything.
Fair enough, thanks Oldiesmann ;)
Oldiesmann that would be great as I could really use this mod 8)
anyway just to say thanks whatever happens
Quote from: Oldiesmann on December 13, 2005, 08:46:58 PM
I've been busy and haven't had time to update it. I will try to get it updated by the end of the week, but I can't guarantee anything.
ok, tks for the effort
could be upgraded a little to count the number of clicks on the redirected forums? it would be better
Hello. Any news on this mod?
yes, the news is that you can forget about this mod. it's dead.
RIP.
Dude, winnet, we just got out of the busy holiday season. Give the guy a break He's said he's been working on it multiple times. :p Maybe it's just me, but Oldiesmann seems to be a bit more of a vet than to just drop it without saying so.
There are a lot of things going on here at SMF. Believe me, people are pretty busy. Unless you've talked to Oldie, I wouldn't say this mod is "RIP". It'll be done when it's done. Just hang in there.
OK, works for me. Take all the time you need. A good mod like this is worth waiting for.
Good luck
was not updated for beta3, was not updated for rc1, it will not be to rc2. More simple then that what do you people want?
crystal clear.
Updating mods is a boring tedious chore. Updating for different versions of a beta release is even more annoying. Just because he hasn't made a version for 1.1 yet doesn't mean he won't.
I am waiting for it as well. ;) Just letting you know.
I have found something interesting out about the board areas.
You can have redirection boards WITHOUT any modifications.
All you have to do is use HTML to link somwhere in the board title.
E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
I have SMF 1.1 RC 2 with SMF Arcade installed and I cannot install the redirection boards "core".
I get these errors:
Quote3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test failed
Because this mod is not made for 1.1RC2
Quote from: L.G.S on February 05, 2006, 09:17:07 AM
Because this mod is not made for 1.1RC2
Whoops, misread "1.0 RC2" as "1.1 RC 2".
I do that sometimes too ;)
But as a temporary solution, why not read my post which is above your first one?
@L.G.S:
Wow, thanks for that. Saves installing a MOD. :)
Glad I helped somebody :D
it would be nice if someone write a piece of code to count the number of visits.
else, the redirected forum looks like a forum with zero posts, and no user are tempted to enter there.
Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.
You can have redirection boards WITHOUT any modifications.
All you have to do is use HTML to link somwhere in the board title.
E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
you sir are a <insert word here> genious, this works perfectly. i have also implemented this in my category titles, instead of using the link to collapse them
With a helping post comes another!
I didn't know it could be used for categories too :P
Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.
You can have redirection boards WITHOUT any modifications.
All you have to do is use HTML to link somwhere in the board title.
E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
Thanks for that!
I expanded on it a little to get rid of the link on the new posts icon on the left:
In 1.1RC2 BoardIndex.template.php:
Find:
Quote
global $context, $settings, $options, $txt, $scripturl, $modSettings;
And Replace With:
Quote
global $context, $settings, $options, $txt, $scripturl, $modSettings;
//Add redirection boards into this array
$redirect = array(boards);
Find:
Quote
<td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';
And Replace With:
Quote
<td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="top">';
//If the board is in $redirect, don't link the image.
if(!in_array($board['id'], $redirect))
echo '<a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';
Replace
boards with whatever boards you want to be redirection boards. So if you want boards id 5 and 6 then it would be "array(5, 6)".
Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.
You can have redirection boards WITHOUT any modifications.
All you have to do is use HTML to link somwhere in the board title.
E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
good call this works great. i added a target="blank" and it's exactly what i need!
You can actually have images in place of the text also
<a href="http://www.domain.com" target="_blank"><img src="mylogo.gif" border="0"></a>
Don't mean to be a downer, but I'd imagine that allowing HTML in thread text will probably be viewed as a bug by the dev team and eventually go away. Maybe they'll put in a toggle option for it, maybe not.
The best and most permanent solution, next to a redirection feature being directly implemented in the core, is to have a mod to supply the needed function.
Not trying to say you shouldn't use it, just saying that if you do, be prepared to adapt to it going away.
You've always been able to use HTML in board titles and descriptions. It's a lot safer than allowing HTML in posts because the admin has complete control over who has access to editing board descriptions, so there's less of a chance that it could be abused.
Also, the next version of this mod will include a click counter and the ability to open the redirection board in a new window. I am putting the finishing touches on the upgraded versions of the theme stuff and still have some testing to do, but if all goes well, the mod should be out either tomorrow or early next week.
Quote from: Oldiesmann on April 07, 2006, 09:07:31 PM
You've always been able to use HTML in board titles and descriptions. It's a lot safer than allowing HTML in posts because the admin has complete control over who has access to editing board descriptions, so there's less of a chance that it could be abused.
Also, the next version of this mod will include a click counter and the ability to open the redirection board in a new window. I am putting the finishing touches on the upgraded versions of the theme stuff and still have some testing to do, but if all goes well, the mod should be out either tomorrow or early next week.
Will it work with 1.1?
Yes, it will work with 1.1.
Will this ever be made for 1.1rc2 ::)
Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.
You can have redirection boards WITHOUT any modifications.
All you have to do is use HTML to link somwhere in the board title.
E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
Folks this is as simple as stated above. That is all I did with mine. I set one up on both forums to each other.
Did the whole thing in like a minute. ;D ;)
New version is out! Please see the first post in this topic for upgrade instructions!
Quote from: Oldiesmann on April 24, 2006, 05:06:50 PM
New version is out! Please see the first post in this topic for upgrade instructions!
Horray! Will install :)
After changing a few search strings in the modification_1-1.xml file to make it install with Topic Ratings installed, I get this error message when installing the mod:
QuoteDatabase 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 'tintytext NOT NULL' at line 1
File: /customers/xxx/httpd.www/forums/Packages/temp/RedirectPdb.php
Line: 26
EDIT #1: Oops, looking at that error message again, I see where the problem is... tin
tytext :).
EDIT #2: Gave me another SQL error :/.
QuoteDatabase Error
Duplicate entry 'redirect_hide_columns' for key 1
File: /customers/xxx/httpd.www/forums/Packages/temp/RedirectPdb.php
Line: 12
Hmm... could it be it inserted the columns in the database despite the previous SQL error? Better check...
Yep, had to delete a couple of columns in in smf_boards and smf_settings. Installed afterwards :).
EDIT #3: Ok, uninstalling the mod doesn't remove the column in the smf_boards table, making reinstalls fail.
EDIT #4: Hmm... get a SQL error when modifying a board now :(.
QuoteDatabase 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 '1,
1,
redirect_url = ,
redirect_target = ,
is_r
File: /customers/xxx/httpd.www/forums/Sources/Subs-Boards.php
Line: 1036
Ok. Give me a few minutes to see what I can do. It looks like I messed up on a couple of things.
Hope you figure it out - it's a great mod... and definitely a better solution than the alternatives you can hack your way to in a default installation :).
Thanks, could I have a screenshot please?
Fixed both issues - added a query to Uninstall.php to remove the redirect_hide_columns setting and modified the appropriate code in modification_1-1.xml to fix the problem you were having with Subs-Boards.php. New file has been uploaded.
L.G.S. - I'll get you some screenshots after lunch (going to eat lunch now).
thanks a lot ;)
Quote from: Oldiesmann on April 25, 2006, 02:21:27 PM
[...]
Sweet, I'll give it another spin :).
EDIT:
$helptxt['redirect_hide_columns'] = 'If selected, this will hide the information about the number of posts and topics in a board for redirection boards.
For the default theme, this hides the "X posts Y topics" column. For the babylon theme, the "X posts in Y topics" column is hidden, and in the classic theme, the "posts" and "topics" columns are hidden. "--" is displayed instead if this is not selected.
The above should be...
$helptxt['redirect_hide_columns'] = 'If selected, this will hide the information about the number of posts and topics in a board for redirection boards.
For the default theme, this hides the "X posts Y topics" column. For the babylon theme, the "X posts in Y topics" column is hidden, and in the classic theme, the "posts" and "topics" columns are hidden. "--" is displayed instead if this is not selected.';
...otherwise all help texts would give a 'template parsing error'. (
'; at the end ;))
I still get the SQL database error when submitting changes (or no changes) to a board, though :/:
QuoteDatabase 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 '1,
1,
redirect_url = '',
redirect_target = '',
File: /customers/xxx/httpd.www/forums/Sources/Subs-Boards.php
Line: 1036
Update:
Fixed several more bugs. Working on fixing a minor display-related bug with ManageBoards.template.php (it's supposed to hide certain fields for boards that aren't redirection boards, but it's not working).
L.G.S - I'll add some screenshots once I fix the bugs. Hope you don't mind waiting a bit longer.
No thats fine :)
Note to self: Test mods thouroughly before releasing them... :)
Found and fixed several additional bugs, including some rather annoying ones (apparently "+=" doesn't work in MySQL). I'm pretty sure I've fixed all the bugs now, but let me know if you come across any more.
Screenshots are attached to the first post.
Quote from: Oldiesmann on April 25, 2006, 06:52:33 PM
Note to self: Test mods thouroughly before releasing them... :) [...]
But that's no... umm... "fun"... for us :P.
Under
$themedir/BoardIndex.template.php a little typo has snuck in;
opeartion.
EDIT #1: Argh, think my SMF installation crapped up on me... it won't let me upload any packages all of a sudden... says they are either not valid or corrupt. Will give it a shot again later on today.
EDIT #2: Hmm, the archive seem to lack a
package-info.xml file... could that be it? But I didn't have any problems with uploading it the first couple of times... :o.
EDIT #3: Found a
package-info.xml file from an archive in my trashcan, so got it to upload, and install after adjusting a search string under
$themedir/BoardIndex.template.php, where it should find this line...
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>
...but it was only...
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330], '
</span></td>
...in my file.
It now gives me a template parsing error on entering a board:
QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/MessageIndex.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, unexpected '/'
Submitting changes to a board in the administration gives me a blank "An Error Has Occurred!" error :S.
-
Sorry to cause so much trouble :(.
That's ok. I don't mind - this is what I get for not testing things out before releasing them ::)
Give me a bit to download stuff again (forgot to bring my USB drive to school) and I'll see what I can do to fix these bugs that keep popping up.
Ok... I'm pretty sure I've fixed all the bugs now. I also added another package-info.xml file since I somehow forgot that last night... Try again and let me know if you run into any other problems that I may have missed.
screenshot please :(
Any chance you could reupload the file - getting errors in WinRAR.
L.G.S - there are screenshots in the first post of the topic.
Thanks for the notice :)
Re-uploaded the file. I'm not sure why you were getting errors in WinRar, but I recommend using UltimateZip instead...
Doubt the problem lies with WinRAR.
When viewing ./index.php?action=packages;sa=browse after uploading the archive, all I get is a white blank screen. Deleting the archive again renders the page as it's supposed to again.
Maybe the problem lies with UltimateZip, if that's what you use to archive it with :P.
will there ever be a 'clicks' amount where the post count should be for this mod?
Like in the third picture?
Currently the click count is displayed in the Last Post column because there's more room there and it looks nicer there... It probably wouldn't be too hard to display click count there, but I don't plan to change the location of this unless a lot of people really demand it.
Seems the package somehow got corrupted. I was able to salvage the files though and re-uploaded a working archive. Sorry about that :)
I'm beginning to think my problems have something to do with the Topic Ratings mod, as I still get the error messages. Sadly I get errors trying to uninstall that one, so I can't easily test it out.
Quote from: Søren Bjerg on April 26, 2006, 03:57:32 PM
Like in the third picture?
I didn't know it was a hit area because it had no numbers on it
Problems still, when i try applying mod I get this message:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Why am I getting this?
Problem Solved!
But think I have found a small error. In the installation steps in the files Sources/Sub-Boards.php:
<operation>
<search position="replace"><![CDATA[
'prev_board' => $prevBoard
]]></search>
<add><![CDATA[
'prev_board' => $prevBoard,
'is_redirect' => $row['is_redirect'],
'count_clicks' => $row['redirect_count_clicks'],
'target' => $row['redirect_target'],
'url' => $row['redirect_url']
]]></add>
</operation>
I think should be:
<operation>
<search position="replace"><![CDATA[
'prev_board' => $prevBoard,
]]></search>
<add><![CDATA[
'prev_board' => $prevBoard,
'is_redirect' => $row['is_redirect'],
'count_clicks' => $row['redirect_count_clicks'],
'target' => $row['redirect_target'],
'url' => $row['redirect_url'],
]]></add>
</operation>
The comma missing in search would cause two commas to occur if I am not wrong? Also comma missing after 'url' => $row['redirect_url'] is missing, cuases an escape thing. New to this stuff so probably wrong, only checked as the file couldnt be edited automatically :D
I'll take a look at it again. Someone else is reporting an error when clicking modify after making a redirection board, so this might be related...
Have a problem, when I try adding a new board WITHOUT redirection selected I get this 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 '1,
1,
redirect_url = '',
redirect_target = '',
is_rated = 0
W' at line 14
File: /home/.endora/etcworld/etcworld.co.uk/forum/Sources/Subs-Boards.php
Line: 1042
The lines in that area are, with 1042 as last lines:
// Set the permission mode (normal, no-polls, reply-only, read-only).
if (isset($boardOptions['permission_mode']) && empty($modSettings['permission_enable_by_board']))
$boardUpdates[] = 'permission_mode = ' . $boardOptions['permission_mode'];
// Is this a redirection board?
if (isset($boardOptions['is_redirect']))
$boardUpdates[] = 'is_redirect = ' . ($boardOptions['is_redirect']) ? '1' : '0';
// Counting clicks?
if (isset($boardOptions['count_clicks']))
$boardUpdates[] = 'redirect_count_clicks = ' . ($boardOptions['count_clicks']) ? '1' : '0';
// Resetting clicks?
if (isset($boardOptions['reset_clicks']) && $boardOptions['reset_clicks'])
$boardUpdates[] = 'redirect_clicks = 0';
// Redirection URL
if (isset($boardOptions['url']))
$boardUpdates[] = 'redirect_url = \'' . $boardOptions['url'] . '\'';
// Redirection URL target
if (isset($boardOptions['target']))
$boardUpdates[] = 'redirect_target = \'' . $boardOptions['target'] . '\'';
if(isset($boardOptions['is_rated']))
$boardUpdates[] = 'is_rated = ' . ($boardOptions['is_rated'] ? '1' : '0');
// Do the updates (if any).
if (!empty($boardUpdates))
$request = db_query("
UPDATE {$db_prefix}boards
SET
" . implode(',
', $boardUpdates) . "
WHERE ID_BOARD = $board_id
LIMIT 1", __FILE__, __LINE__);
I tried changing the order still doesnt work, any help?
Then when I try with redirection it says that 'An Error Has Occured' but there is no message!.. please help
I think these are because you had the topic ratings mod installed prior to installing redirection boards - some of the changes made by that mod probably conflicted with some changes made by this one. Unfortunately I haven't had much time to test the two together, but will try to do so soon.
Found the problem...
The blank error message is due to a missing language string that's supposed to say "Redirection boards must have a URL!". However, you're getting the error because I re-named a couple of input boxes and forgot to change where it sets the values based on these. A new version of the package will be uploaded shortly, but you can fix it by doing this:
Sources/ManageBoards.php
Find
$boardOptions['url'] = isset($_POST['url']) ? $_POST['url'] : '';
$boardOptions['target'] = isset($_POST['target']) ? $_POST['target'] : '';
// You can't have a redirection board without specifying where to send them to!
if($boardOptions['is_redirect'] && $boardOptions['url'] == '')
{
fatal_lang_error('redirect_no_url', false);
}
Replace
$boardOptions['url'] = isset($_POST['redirect_url']) ? $_POST['redirect_url'] : '';
$boardOptions['target'] = isset($_POST['redirect_target']) ? $_POST['redirect_target'] : '';
// You can't have a redirection board without specifying where to send them to!
if($boardOptions['is_redirect'] && $boardOptions['url'] == '')
{
fatal_lang_error('redirect_no_url', false);
}
Ok. New version of the mod is up. As always let me know if you run into any additional problems.
I get this now...
QuoteDatabase 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 '1,
1,
redirect_url = '{the actual url written here now}',
red
File: /customers/xxx/httpd.www/forums/Sources/Subs-Boards.php
Line: 1036
...but again, it might have something to do with the Topic Ratings mod.
Will try installing it on my local Topic Ratingsless installation when I get home from work. Should shed some light :).
Yes that error still remains, any help?
I think I've finally fixed it. I was setting the redirect_count_clicks and is_redirect values incorrectly:
$boardUpdates[] = 'redirect_count_clicks = ' . ($boardOptions['count_clicks']) ? '1' : '0'; instead of $boardUpdates[] = 'redirect_count_clicks = ' . ($boardOptions['count_clicks'] ? '1' : '0');
There is a slight difference in the way those statements are evaluated:
First statement - if redirect_count_clicks and $boardOptions['count_clicks'] are the same, the next value in the boardUpdates[] array should be 1, otherwise it should be 0
Second statement - the next value in the boardUpdates[] array should be "redirect_count_clicks = 1" if $boardOptions['count_clicks'] is true, otherwise it should be "redirect_count_clicks = 0".
That solved the error message :D.
The board index doesn't display properly on my end, though, but I'll see if changes were actually done to the files - had problems with another mod, which would successfully install... but some of the changes wouldn't be made to the actual file.
EDIT #1: Hmm, the changes were done to the files. An 'empty' board is shown on the bottom of the category as seen here (http://forums.runehordes.info/index.php). The redirection board is "ItloS 2 Tournament [www]" found here (http://forums.runehordes.info/index.php?board=37.0). Looks like a normal board.
"Target for the URL" isn't honored either :S.
has the download been updated with the last errors fixed?
still hasnt got rid of the SQL Problem
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 '
is_redirect = 1,
redirect_count_clicks = 0,
redirect_url = 'http' at line 17
File: /home/.endora/etcworld/etcworld.co.uk/forum/Sources/Subs-Boards.php
Line: 1066
And i have also removed Topic Ratings Mod, yet this error is still there!
Odd, the new update worked for me (bar those issues described above) - with the Topic Ratings mod installed.
Quote from: Søren Bjerg on April 28, 2006, 02:30:01 PM
An 'empty' board is shown on the bottom of the category [...]. Looks like a normal board.
"Target for the URL" isn't honored either :S.
I have the same problems the empty bord is marked with the green ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fterrarystyka.pl%2Fshow.jpg&hash=102c509fa9a03e8c791308619af4f37285e69fa8)
Can it work as a "thread redirection" ?
Just a little trick here I figured out... (may not good html though!!!)
If you want to redirect a board somewhere, NAME the board...
<a href="http://www.simplemachines.org/">Simple Machines!</a>
Works for me! ;)
Maybe you learnt that trick 2-3 pages back and myself and some others discussed it lol.
oh really? nope - I missed those... figured it out on my own! :P
(and I thought I was the smartest guy in the forum! ;) :( )
just install the mods and found two problems, both in babylon theme (in classic theme work excelent)
1. in manage board, settings
when I check hide posts and topics, and click save, nothing happend, the refreshed page came with box unchecked; as a result the redirected board does not display number of redirections in babylon theme, still display 0 posts and 0 topics
2.even I wrote _blank in target, the redirected board is not open in new window
as I said, in classic theme all is fine
no other mod installed, no errors at mod installation, no errors in logs
tks.
Quote from: kober on May 05, 2006, 02:07:37 PM
Quote from: Søren Bjerg on April 28, 2006, 02:30:01 PM
An 'empty' board is shown on the bottom of the category [...]. Looks like a normal board.
"Target for the URL" isn't honored either :S.
I have the same problems the empty bord is marked with the green ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fterrarystyka.pl%2Fshow.jpg&hash=102c509fa9a03e8c791308619af4f37285e69fa8)
I also have this problem with SMF 1.1 RC2 + Redirection Boards 2.0.
The redirection is child board "XTD Ratings" of the main board "Packages".
Is there any fix or workaround yet known for the problem?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffacileforms.biz%2Fimages%2Fsmfredirbug.png&hash=b1cb02a8da5c77bab7b368cbb609257ed400f36e)
Quote from: digit on May 07, 2006, 06:03:19 AM
Just a little trick here I figured out... (may not good html though!!!)
If you want to redirect a board somewhere, NAME the board...
<a href="http://www.simplemachines.org/">Simple Machines!</a>
Why did I overlook this at first hand?
Forget my request for a fix/patch in the post above, this works like a charm and makes the redirection package obsolete for me. 8)
Thanks for the tip!
Quote from: Slave To This on July 20, 2005, 03:22:01 AM
Since I don't seem to see anyone trying to resolve this issue themselves and until the mod writer steps in, here is a quick fix for you people who don't want post count to show on boards with zero posts and topics. now this isn't just for redirection boards it will do it for any board like this!
Open BoardIndex.template.php
Find
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="smalltext" valign="middle" width="22%">';
and replace
if(empty($board['posts']) && empty($board['topics']))
{
echo '
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
</span></td>';
}
else
{
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>';}
echo'
<td class="smalltext" valign="middle" width="22%">';
Now hopefully that will make a few people happy! :)
Also if you want something in place of nothing in the spot for 0 posts and 0 topics. put something between
<span class="smalltext">
and
</span>
Any questions? :P
By the way this took me about 10 minutes to write and I have only used php for 4 months! :)
Try stuff out get yourselves a test forum and test things that is what it is there for..... and it is the best way to learn!
Now back to our regularly scheduled programming!
Hello,
This codes have some error in it. I have tried to correct them a bit...
Let's start from the beginning and see what can be done to remove that zero messages and zero posts things...
1. Open your BoardIndex.template.php
2. Find
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="windowbg2" valign="middle" width="22%">
<span class="smalltext">';
3. Replace this with the code below
// Remove zero posts
if(empty($board['posts']) && empty($board['topics']))
{
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
</span></td>';
}
else
{
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>';}
echo'
<td class="windowbg2" valign="middle" width="22%">
<span class="smalltext">';
Original credits are going to
Slave To This (http://www.simplemachines.org/community/index.php?action=profile;u=12576), I just only made some corrections in the code...
Now it is working fine ;)
Quote from: kochp on May 17, 2006, 02:23:09 AM
Quote from: kober on May 05, 2006, 02:07:37 PM
Quote from: Søren Bjerg on April 28, 2006, 02:30:01 PM
An 'empty' board is shown on the bottom of the category [...]. Looks like a normal board.
"Target for the URL" isn't honored either :S.
I have the same problems the empty bord is marked with the green ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fterrarystyka.pl%2Fshow.jpg&hash=102c509fa9a03e8c791308619af4f37285e69fa8)
I also have this problem with SMF 1.1 RC2 + Redirection Boards 2.0.
The redirection is child board "XTD Ratings" of the main board "Packages".
Is there any fix or workaround yet known for the problem?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffacileforms.biz%2Fimages%2Fsmfredirbug.png&hash=b1cb02a8da5c77bab7b368cbb609257ed400f36e)
Sorry for the delayed response... Did you get any errors when you went to install this? Are there any errors in your forum error log relating to this?
Please sort this mod out so it work properly!
Quote from: Oldiesmann on May 23, 2006, 11:43:53 AM
Quote from: kochp on May 17, 2006, 02:23:09 AM
Quote from: kober on May 05, 2006, 02:07:37 PM
Quote from: Søren Bjerg on April 28, 2006, 02:30:01 PM
An 'empty' board is shown on the bottom of the category [...]. Looks like a normal board.
"Target for the URL" isn't honored either :S.
I have the same problems the empty bord is marked with the green ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fterrarystyka.pl%2Fshow.jpg&hash=102c509fa9a03e8c791308619af4f37285e69fa8)
I also have this problem with SMF 1.1 RC2 + Redirection Boards 2.0.
The redirection is child board "XTD Ratings" of the main board "Packages".
Is there any fix or workaround yet known for the problem?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffacileforms.biz%2Fimages%2Fsmfredirbug.png&hash=b1cb02a8da5c77bab7b368cbb609257ed400f36e)
Sorry for the delayed response... Did you get any errors when you went to install this? Are there any errors in your forum error log relating to this?
I have the same problem, too. In the error log I get bunch of errors such as "Undefined index: is_redirect"; "Undefined index: topics" or, more detailed,
Quote8: Undefined index: is_redirect
File: /..../Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 181
ALL errors have this in common:
.../BoardIndex.template.php (main sub template - eval?)
If I modfy the boards (so they ar not anymore child boards), these errors do not appear anymore. And, oh, there's a bunch of errors
for each user (registered/guest) navigating the forum... I didn't realize and I ended up with 300 pages of errors in couple of days....
Hey, I'm trying to add this mod to Dilber MC theme, but I'm having this problem.
<file name="$themedir/BoardIndex.template.php">
<operation>
<search position="replace"><![CDATA[
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
]]></search>
<add><![CDATA[
<td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '' , '>
<b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
]]></add>
Except I have a problem..
This is the code in Dilber MC:
<td class="windowbg2" style="padding-top:12px; padding-bottom:12px;">
So what would I need to do to change this part so it works without template errors?
Please..
This thread is going to page 2 every day... can somebody help me???
6 days and still no beef :(
I added this mod to a SMF 1.1 RC2 board. There were no errors when I installed it & it appears to be installed correctly. However, when I try to make a board into a re-direct board no box appears to insert the target url into.
Hello,
I am trying to install this on my theme but I cannot find this code on the BoardIndex.php
<file name="$themedir/BoardIndex.template.php">
<operation>
<search position="replace"><![CDATA[
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board
Any idea's on what I should do here?
rebelrose have no similar code?
for example you try search
Quote<a href="', $board['href'],
Quote from: Arbalot on July 24, 2006, 02:27:26 PM
rebelrose have no similar code?
for example you try search
Quote<a href="', $board['href'],
yes I did and it said not found
hmm can u paste your boardindex.template.php here or pm?
Quote from: Arbalot on July 24, 2006, 02:31:50 PM
hmm can u paste your boardindex.template.php here or pm?
Well before I do that I am going to back through it without using the search feature and read it all myself. I would hate to post it on here and have it found. Thanks for offering to look though.
I will repost if I cannot find it.
any idea on my problem anyone?
SMF Version: SMF 1.1 RC2
Please see my next message:
SMF Version: SMF 1.1 RC2
Quote from: tapirul on June 30, 2006, 03:19:26 AM
Quote from: Oldiesmann on May 23, 2006, 11:43:53 AM
Sorry for the delayed response... Did you get any errors when you went to install this? Are there any errors in your forum error log relating to this?
I have the same problem, too. In the error log I get bunch of errors such as "Undefined index: is_redirect"; "Undefined index: topics" or, more detailed,
Quote8: Undefined index: is_redirect
File: /..../Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 181
ALL errors have this in common:
.../BoardIndex.template.php (main sub template - eval?)
If I modfy the boards (so they ar not anymore child boards), these errors do not appear anymore. And, oh, there's a bunch of errors for each user (registered/guest) navigating the forum... I didn't realize and I ended up with 300 pages of errors in couple of days....
Sorry to bump this - but this is the same error I and an affiliated site are getting also (note to self, must read back before posting).
and when trying to uninstall:
Quote12. Execute Modification ./Themes/default/languages/Help.english.php Test failed
13. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
Quote from: IamV on July 11, 2006, 03:43:28 AM
I added this mod to a SMF 1.1 RC2 board. There were no errors when I installed it & it appears to be installed correctly. However, when I try to make a board into a re-direct board no box appears to insert the target url into.
Ok, I happenned to go in with a different browser. When I use IE or FF, there is no box for the url. If I use Opera, there is one!
I will take a look at everything when I get a chance and see if I can find any bugs that need fixing. I've been really busy and just haven't had time to do it yet.
Quote from: Oldiesmann on May 23, 2006, 11:43:53 AM
Quote from: kochp on May 17, 2006, 02:23:09 AM
Quote from: kober on May 05, 2006, 02:07:37 PM
Quote from: Søren Bjerg on April 28, 2006, 02:30:01 PM
An 'empty' board is shown on the bottom of the category [...]. Looks like a normal board.
"Target for the URL" isn't honored either :S.
I have the same problems the empty bord is marked with the green ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fterrarystyka.pl%2Fshow.jpg&hash=102c509fa9a03e8c791308619af4f37285e69fa8)
I also have this problem with SMF 1.1 RC2 + Redirection Boards 2.0.
The redirection is child board "XTD Ratings" of the main board "Packages".
Is there any fix or workaround yet known for the problem?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffacileforms.biz%2Fimages%2Fsmfredirbug.png&hash=b1cb02a8da5c77bab7b368cbb609257ed400f36e)
Sorry for the delayed response... Did you get any errors when you went to install this? Are there any errors in your forum error log relating to this?
I am having this problem also. I did not get any errors when installing. The following series of errors appear in my error log, for the same user:
Today at 10:11:13 PM
8: Undefined index: is_redirect
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 193
Today at 10:11:13 PM
8: Undefined index: topics
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 173
Today at 10:11:13 PM
8: Undefined index: posts
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 172
Today at 10:11:13 PM
8: Undefined index: is_redirect
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 163
Today at 10:11:13 PM
8: Undefined index: is_redirect
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 158
Today at 10:11:13 PM
8: Undefined index: description
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 147
Today at 10:11:13 PM
8: Undefined index: name
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 146
Today at 10:11:13 PM
8: Undefined index: is_redirect
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 146
Today at 10:11:13 PM
8: Undefined index: id
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 146
Today at 10:11:13 PM
8: Undefined index: href
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 146
Today at 10:11:13 PM
8: Undefined index: is_redirect
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 145
Today at 10:11:13 PM
8: Undefined index: children_new
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 137
Today at 10:11:13 PM
8: Undefined index: new
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 134
Today at 10:11:13 PM
8: Undefined index: id
File: /home/wrestlin/public_html/uk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 131
thank you Oldiesman :)
James, I moved everything to categories and boards (hence no child boards) - the errors are gone
but, I reckon we be patient, I am sure Oldiesman will get us a solution when he can
Quote from: PacificWx on August 05, 2006, 05:22:35 PMJames, I moved everything to categories and boards (hence no child boards) - the errors are gone
I'm not using child boards.
[I've removed the links in this post - if anybody wants to help, please let me know and I'll repost them]
Any chance of an update 4 1.1 RC3?
Now incompatible...
any news? updates? or it is stalled until 1.1 final comes out.
I was really busy this summer and didn't have a chance to do anything with it. I am going to work on it today and hopefully fix all the bugs in it. Once the bugs have been fixed I'll update it to work with 1.0.8 and 1.1 RC3. Apologies for the delay :)
Thanks Oldiesmann, good luck with it. :D
Hope this will be available on 1.1 RC3 very soon. This seems to be a nice mod.
This should be in there already, as IPB supports it in 1.3!. Now I just need to wait for RC3 release
I've been busy lately so I haven't had time to mess with it and fix the bugs. I'll try to work on it this weekend if I have time.
I've mentioned adding redirection boards as a default feature many times, but it seems that many team members don't feel it should be a default theme...
And I just sit there and watch at how my old invisionfree forum supported redirection... :-[
I just updated the mod. I think I've fixed all the bugs now, and it's also compatible with 1.0.8 and 1.1 RC3 as well. Please let me know if you run into any more problems and I'll try to fix them as soon as possible.
thanks Oldiesmann , installed it with 1.1RC3 and worked fine :D
thank youuuuuu~~~
Awesome - better late than never :). Good work!
Thanks :)
Now I just have to figure out why the javascript to show the extra options doesn't work in IE...
Ah... Apparently IE doesn't support the "table-row" display property. That should be relatively easy to fix though...
Ok. Updated package to use the "block" display property in IE.
If I uninstall then reinstall this mod will I lose the redirection boards I already have? How can I upgrade to the new one?
Unfortunately, you will lose the redirection boards you already have - they'll just be turned into normal boards. There were a lot of bugs in the previous version, so I didn't write an upgrade script for it, mainly because I didn't think that many people were using it.
Quote from: Oldiesmann on September 30, 2006, 02:34:14 PM
I just updated the mod. I think I've fixed all the bugs now, and it's also compatible with 1.0.8 and 1.1 RC3 as well. Please let me know if you run into any more problems and I'll try to fix them as soon as possible.
Did you change the version number?
I just removed the old one, downloaded the mod again, installed it but now when I click on "Make this board a redirection board" nothing happens.
5. Execute Modification ./Sources/MessageIndex.php Test failed
Are there ways to manually install?
got this error when trying installing (but no warning)
Duplicate entry 'redirect_hide_columns' for key 1
File: /membri/robotex/smf/Packages/temp/RedirectPdb.php
Linea: 12
but i havent that entry in my smf_settings
Quote from: Miraploy on October 05, 2006, 07:06:49 AM
5. Execute Modification ./Sources/MessageIndex.php Test failed
Are there ways to manually install?
I get the same thing. I am using the default theme with 1.1 RC3
I had this installed already(1.1 RC3) and worked, but troubleshooting another issue had me uninstall all MODs, which solved the problem, but when I try to install now, I get...
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
9. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
10. Execute Modification ./Themes/babylon/MessageIndex.template.php Test failed
11. Execute Modification ./Themes/classic/BoardIndex.template.php Test failed
12. Execute Modification ./Themes/classic/MessageIndex.template.php Test failed
Thanks.
Let me go do some more testing and see what I can find. It installed fine on a clean SMF installation last I tried it, but maybe I missed something.
Fixed a parse error in 1.0.x. Tried installing it on clean installations of both 1.1 RC2 and 1.1 RC3 and didn't encounter any problems. If you want to manually install it, take a look at the included help.txt file (to make sure you understand the XML format) and then follow the instructions in modification_1-0.xml (for 1.0.x) or modification_1-1.xml (for 1.1 RC2 and 1.1 RC3).
Thank you Oldiesmann, will look into that and see how hard it would be to do it manually, by the way, I removed babylon and classic themes for now.
Hi I've installed 2.0.1, everything comes back as "Test successful" on the checks but when I click on "Install now" I get the following error:
Duplicate entry 'redirect_hide_columns' for key 1
File: /home/uepengla/public_html/smf/Packages/temp/RedirectPdb.php
Line: 12
Under the "Installed Packages" menu I have Redirection Boards 2.0 listed there. If I click on Uninstall on the right I get the following error:
An Error Has Occurred!
Unable to find package file!
I'm presuming there's something left over from verson 2.0 but I don't know how to completely remove version 2 so that it doesn't show up in the uninstall list.
Any help would be appreciated.
Hmm.. i have this error after i installed the mod in my SMF 1.0.8.
Parse error: syntax error, unexpected '=' in /home/pbcnx/public_html/gafn/forum/Sources/ManageBoards.php on line 644
that happens when i click the "Manage Boards" Link in the Admin Center. Is there anyway to fix this? ???
TIA :)
Im sorry to say this oldiesman but the file seems to be corrupt
When i upload it to my packages directory the package manager wont open
When i delete it the package manager opens fine
If i try to unpack the file winrar tells me that the file is corrupt... i downloaded the file about 5 or 6 times.. so im sure i got the file downloaded correct..
Can you look into this ?
I get the same error message as pbcnx, except on line 639. I too am using v1.0.8, and it installed without any problems. When I look at the file, this is what I have for line 639:
countPosts = $_POST[count], ID_CAT = $ID_CAT, ID_PARENT = $ID_PARENT,
This is it in context:
// Commit the changes.
if (!isset($_REQUEST['add']))
{
if($_POST['reset_clicks'] == 1)
{
// One last attempt to make this work... It won't work when I put it in the main query for whatever reasion...
$query = db_query("UPDATE {$db_prefix}boards SET redirect_clicks = '0' WHERE ID_BOARD = $_POST[ID_BOARD]", __FILE__, __LINE__);
}
db_query("
UPDATE {$db_prefix}boards
SET
name = '$_POST[board_name]', description = '$_POST[desc]', memberGroups = '" . implode(',', $_POST['groups']) . "',
is_redirect = $_POST[enable_redirect], redirect_count_clicks = $_POST[count_clicks], redirect_target = '$_POST[target]', redirect_url = '$_POST[url]'",
countPosts = $_POST[count], ID_CAT = $ID_CAT, ID_PARENT = $ID_PARENT,
childLevel = $childLevel, boardOrder = $spot, ID_THEME = $_POST[boardtheme], override_theme = $_POST[override_theme]
WHERE ID_BOARD = $_POST[ID_BOARD]
LIMIT 1", __FILE__, __LINE__);
}
else
Thanks in advance for helping resolve this. :)
Sorry for the late response. I completely forgot about this (I've been busy the past few weeks). I see the problem - remove the " at the end of the line starting with is_redirect (I guess it would be line 638 in your case). I'll take a look at the package in a minute and if the problem is still there, I'll fix it.
Hi, are there any updates to this?
I don't think that bug is there anymore, but I'll look at it again later to make sure. Also, if anyone knows about any other existing bugs, let me know. I'd like to get any remaining bugs fixed for 1.1 final...
Hi, I upgraded my SMF from 1.0.8 to 1.1 and tried to install your mod, but it threw an error that it was not compatible. Will there be a version of this mod that is compatible for 1.1? Since my redirection boards are now broken and becomes ordinary boards.
Thank you.
5. Execute Modification ./Sources/MessageIndex.php Test failed
:(
RC3 and custom theme.
So, this is NOT built into SMF 1.1?
If it is not built in, is this fully ready for 1.1 Final?
I love this mod. If someone could post an update for SMF 1.1 Final I would love them forever!
Hi could someone update this to the latest version please?
The mod is actually unnecessary... if you put the html (<a href=http://whatever>urlname</a>) into the title blank, it creates a link.
yeah, you can do this, but will no count the visits, so it will be always shown 0 posts in 0 topics.
so none will enter/click this forum because it is displayed empty.
so a lot a visitors lost.
but, dont worry, when all the other mode will be updated, there are a little chance to be updated
I updated this mod for 1.1 final and 1.1.1 earlier...
I get these errors:
Me this:
Duplicate entry 'redirect_hide_columns' for key 1
Fichier: Packages/temp/RedirectPdb.php
Ligne: 12
and
./babylon/BoardIndex.template.php Skipping file
Quote from: Greek on December 20, 2006, 04:32:29 AM
I get these errors:
do you have the Board Viewer mode installed? if yes this is the cause for 2 of those errors.
Yes, I have it.
But to be honest I wouldn't like to uninstall it because of Redirection Boards.
then, you have to install this mod manually
even so, is a little tricky to make them both working
a better idea is to uninstall board viewer, install redirection board and after that reinstall the board viewer.
Quote from: GravuTrad on December 20, 2006, 08:29:32 PM
Me this:
Duplicate entry 'redirect_hide_columns' for key 1
Fichier: Packages/temp/RedirectPdb.php
Ligne: 12
and
./babylon/BoardIndex.template.php Skipping file
None as idea for this?
Get 'corrupted archive' when trying to install this.
Hi
I installed this in RC2, upgraded to 1.1.1, tried to install it and it gave a database error about already existing...
Quote from: leoedin on December 23, 2006, 06:59:20 PM
Hi
I installed this in RC2, upgraded to 1.1.1, tried to install it and it gave a database error about already existing...
That's because it already exists in the db and such... just make sure your file changes are still there. This is why relying on package installs is a pain :)
Test failed for
/Themes/default/BoardIndex.template.php
/Themes/default/MessageIndex.template.php
Any ideas?
I get als this. Is there a fix for this
Quote
Duplicate entry 'redirect_hide_columns' for key 1
File: /home/vhosts/superdaantje.nl/httpdocs/forum/Packages/temp/RedirectPdb.php
Line: 12
I am using SMF version 1.1.1
Any plans to make a redirect threads ?
Quote from: Livebox on December 28, 2006, 02:20:07 PM
I get als this. Is there a fix for this
Quote
Duplicate entry 'redirect_hide_columns' for key 1
File: /home/vhosts/superdaantje.nl/httpdocs/forum/Packages/temp/RedirectPdb.php
Line: 12
I am using SMF version 1.1.1
I am getting the same error and I am also using 1.1.1
did you had this mod previous installed? in rc2, 3 maybe?
no just trying to install it in 1.1.1
Quote from: GravuTrad on December 21, 2006, 11:42:48 AM
Quote from: GravuTrad on December 20, 2006, 08:29:32 PM
Me this:
Duplicate entry 'redirect_hide_columns' for key 1
Fichier: Packages/temp/RedirectPdb.php
Ligne: 12
and
./babylon/BoardIndex.template.php Skipping file
None as idea for this?
That means it either didn't find the file or one of the tests failed. I have it set to skip the file if any errors occur because I don't want the mod to fail if you don't have that theme installed.
I will fix the database issue shortly. Sorry about that :)
Livebox - what other mods do you have installed?
Many thanks ;)
Other MOds are
-Youtube
-Googlevideo
-Reason For Editing Mod
-Custom Profile Field Mod
Great, thanks oldiesmann.
Oldiesmann I hope you have something with the info I gave you. I hope you can fix it soon the SQL.. Many thanks that you will take a look @ it ;)
Same error here in SMF 1.1.1, duplicate entry... Oh, by the way, I installed one in plain SMF 1.1 and it was successful, but I didn't find the modifications there...
EDIT: I found it, apparently I forgot to change my language to English first before...
Maybe you can use INSERT IGNORE INTO ... for the SQL? (but I think the SQL itself must be rewritten to resolve this error.)
Thanks for this mod, I really like it. They should have been included it as a default feature...
Yes really, it should be a default option... ;)
has anyone tried a manual install for this.
Just updated the mod to fix a couple minor issues. It should install fine now even when MySQL is running in strict mode. I also fixed the problems causing the "undefined index: boardName" errors. Thanks to akabugeyes for pointing them out :)
i've uploaded the package and get
Installing this package will perform the following actions:
Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification - Modification parse error
There are a few mistake in the xml files, postion instead of position.
Still getting the error so will keep looking for more.
Ok i test it...
skipped boardindex.template.php and this error:
Duplicate entry 'redirect_hide_columns' for key 1
Fichier: /Packages/temp/RedirectPdb.php
Ligne: 12
Always the same database problem for me so...
can we have this fixed pretty please
Please is ther some one that has a fix for this ? ;)
I'd appreciate somebody satisfying my curiosity: what purpose is served by redirecting a visitor away from a board?
I've read the entire topic and still haven't any idea as to the mod's purpose, even though it is clear many find it important.
Thanks!
Many sites have affiliates/link exchanges with other sites, and this is a handy way of displaying those links and keeping track of how well you're holding up your end of the deal.
It also looks a lot better than an empty section too.
found the solution for the problem ;) The problem was that I all ready installed it. So I had to remove some tables.
What I have don is I changed on line 12
INSERT INTO to REPLACE INTO
This is wat I have removed out of the smf_board tabel See screenshot
Before you do this make a backup first ;)
i can't get it to install in packages because there is a parse error inthe install xml somewhere. I can't find it
Hi oldies. Have you looked for updating the mod?
just try what I did ;)
It worked for me. And for an User off my board
Me, my bdd bug has not been corrected by oldies...
I also had this problem. And it is fixed by checking the SQL database. The entry's where all ready there. remove them make the changes to RedirectPdb.php. and try it again.
QuoteDuplicate entry 'redirect_hide_columns' for key 1
File: /home/vhosts/superdaantje.nl/httpdocs/forum/Packages/temp/RedirectPdb.php
Line: 12
are you using the old pacakge or the new one..
and are you doing a manual install?
I use the new one. I did the normal install. and made the changes for my theme by hand
Quote from: Livebox on February 10, 2007, 02:51:30 PM
found the solution for the problem ;) The problem was that I all ready installed it. So I had to remove some tables.
What I have don is I changed on line 12
INSERT INTO to REPLACE INTO
This is wat I have removed out of the smf_board tabel See screenshot
Before you do this make a backup first ;)
Works perfect. I upgraded from RC3 to 1.1.2 and received similar "duplicate entry" error when trying to install the package.
Did these two little tricks....wham..back in business!
Good Job!
Oke Good to here it works also for you ;)
Sorry for not responding to this sooner. I thought I was subscribed to this topic, but I guess I wasn't.
The "modification parse error" issue seems to be a bug with the package manager and PHP 5.2 - several other people reported that problem with PHP 5.2 with my G2 integration package, and I ran into that problem with the package on my test box (the package installs fine on other versions). Haven't tried it since 1.1.2 was released, so I'm not sure if the package manager bug that was fixed there also fixes that particular problem or not.
I will update the package tomorrow to install on 1.1.2 and also to check for columns and settings before trying to insert them.
Are there any other bugs that need to be addressed/fixed while I'm at it?
No problem ;)
It is is working now ;D
as i can't install (i'm assuming the php5 problem) and i haven't got the time at the moment to do it manually i have no idea if there are any other bugs.
i set it to php4 for the sake of trying it, and i noticed a problem with it being added to the classic template.
It still shows 0 posts and 0 views (i checked the code it is all there)
and the error log gets lots of
8: Undefined index: board
File: /home/totaltwa/public_html/board/Themes/default/shout.template.php (main sub template - eval?)
Line: 153
which is relevant to this area of boardindex.template.php
<td class="windowbg" valign="middle" align="center" width="6%">', $context['board']['is_redirect'] ? '--' : $board['topics'], '</td>
<td class="windowbg" valign="middle" align="center" width="6%">', $context['board']['is_redirect'] ? '--' : $board['posts'], '</td>';
Nothing to do with the shoutbox, as i get it on other templates without the shoutbox too, always references those lines.
Current Problem!:
Install Actions
Installations actions for "Redirection Boards":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Always Duplicate entry 'redirect_hide_columns' for key 1
Fichier: /Packages/temp/RedirectPdb.php
Ligne: 12
I haven't updated the package yet - I got sidetracked upgrading one of my sites last night. Give me a few minutes and I'll upgrade it for 1.1.2 and fix that redirect_hide_columns issue.
Package has been updated and should install fine on 1.1.2 - it now checks for the redirect_hide_columns setting and the various redirect columns in the boards table before trying to add/create them. I also fixed the typo with the classic theme (it should be $board['is_redirect'] and not $context['board']['is_redirect']).
Let me know if you run into any other problems.
Quote from: Oldiesmann on February 15, 2007, 06:14:47 PM
Package has been updated and should install fine on 1.1.2 - it now checks for the redirect_hide_columns setting and the various redirect columns in the boards table before trying to add/create them. I also fixed the typo with the classic theme (it should be $board['is_redirect'] and not $context['board']['is_redirect']).
Let me know if you run into any other problems.
I got a message that said this file is corrrupt or not compatible with your version of SMF, something like that. When I opened up the package.info.xml I noticed that the install line had this 1,1,2 instead of 1.1.2. I repackaged myself, uploaded, and it worked.
Whoops! It's fixed now :)
Ok, i test and answer....
arf, still a little problem for me:
Duplicate column name 'is_redirect'
Fichier: /Packages/temp/RedirectPdb.php
Ligne: 44
worked like a charm for me
Quote from: GravuTrad on February 16, 2007, 09:46:27 AM
arf, still a little problem for me:
Duplicate column name 'is_redirect'
Fichier: /Packages/temp/RedirectPdb.php
Ligne: 44
Follow the instructions I wrote earlier in this topic. Did you tried this? It works for me and some other boards I have updated last few days.
Sorry i forgotten it but i will try.
But there's correction to oldies to do...
if i check the option "Hide "posts" and "topics" for redirection boards" in boards settings, it checks the previous "Enable recycling of deleted topics" and not the correct checkbox i clicked...
i have smf 1.1.2 installed
bump...
I just installed the newest version (2.0.1) on my SMF 1.1.2 and get the following text above every page on my message board:
Quote$txt['redirected_click'] = '1 redirected click'; $txt['redirected_clicks'] = ' redirected clicks'; $txt['redirect_count_clicks'] = 'Count all clicks?'; $txt['redirect_count_clicks_desc'] = 'This will keep track of how many times the board redirects your users'; $txt['redirect_enable'] = 'Make this board a redirection board'; $txt['redirect_enable_desc'] = 'This will redirect any user attempting to access this board to a URL of your choice'; $txt['redirect_location'] = 'URL to redirect user to'; $txt['redirect_hide_columns'] = 'Hide "posts" and "topics" for redirection boards'; $txt['redirect_no_child'] = 'Redirection boards can\'t have child boards!'; $txt['redirect_no_url'] = 'Redirection boards must have a URL!'; $txt['redirect_reset_clicks'] = 'Reset click count'; $txt['redirect_reset_clicks_desc'] = 'This will reset the click count to 0.'; $txt['redirect_target'] = 'Target for the URL'; $txt['redirect_target_desc'] = 'The target for the redirection link (ie _blank)';
Oh and all text size on the forum is somehow turned to large if not larger than large.
I have the following other mods installed:
- SMF Arcade 2.0.7
- SMF Gallery Lite 1.7.1
- Member Awards 1.0.2
- Related Topics 1.1.1 (which doesn't work but thats for another topic)
- Enchanced post template 1.0.2
- Custom Profile Field Mod 3.16
However.. when all mods are uninstalled and this mod is installed, the same thing happens.
Help? ::) :'( :( ???
*error fixed.
For an odd reason it added that AFTER "?>" in the Modifications.english.php.
when i installed this mod i get this error.
Error in Package Installation
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.
Installing this package will perform the following actions:
Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test failed
7. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./babylon/BoardIndex.template.php Skipping file
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
What can i do to make this mod work?
Hmmmm anyone?
have you any mod installed on your forum?
Yeah i have a few installed on my forum.
^ Then obviously they might be causing it... :-\
Anyways, I fixed my above error, but now everytime I view any board I get:
QuoteParse error: syntax error, unexpected ',' in /.../Themes/babylon/MessageIndex.template.php on line 111
and here is line 111:
Quoteecho ($board['redirect_clicks'] == 1 ? $txt['redirected_click'] : '<b>', $board['redirect_clicks'], '</b> ', $txt['redirected_clicks']);
I don't see anything wrong with it, and tried taking out the ","s one by one and all together, but they need to be there for things to work properly.
help? :(
Quote from: Greenman on March 13, 2007, 04:58:46 AM
^ Then obviously they might be causing it... :-\
Anyways, I fixed my above error, but now everytime I view any board I get:
QuoteParse error: syntax error, unexpected ',' in /.../Themes/babylon/MessageIndex.template.php on line 111
and here is line 111:
Quoteecho ($board['redirect_clicks'] == 1 ? $txt['redirected_click'] : '<b>', $board['redirect_clicks'], '</b> ', $txt['redirected_clicks']);
I don't see anything wrong with it, and tried taking out the ","s one by one and all together, but they need to be there for things to work properly.
help? :(
Umm actually this is the mod i tryed to install first before any others and this is what i got. i uninstalled all my other mods and retryed still the same thing.
hi, whenever i try to install this, it works great, but only on the default theme, i want to get it on helios multi, for tiny portal, here's my problem:
Parse error: parse error, unexpected T_ELSEIF in /home/towerofb/public_html/skull09/forum/Themes/helios_multi11final_tp/BoardIndex.template.php on line 360
and heres my BoardIndex.template.php
<?php
// Version: 1.1; BoardIndex
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td><td valign="top">';
$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
$leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
$rightbox='</td><td style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
$leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
$rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
$leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 4px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
$rightboxbot2='</td><td style="padding-right: 0px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
// Show some statistics next to the link tree if SP1 info is off.
echo $leftbox.'
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td style="text-align: left; padding-left: 0px;" valign="bottom">', theme_linktree(), '</td>
</tr>
</table>'.$rightbox;
// Show the news fader? (assuming there are things to show...)
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
{
echo $topbox;
echo '
<div style="padding: 0px; margin-bottom: 2px;">
<table border="0" width="100%" cellspacing="1" cellpadding="4">
<tr>
<td align="left" style="font-weight: bold;"> ', $txt[102], '</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';
// Prepare all the javascript settings.
echo '
<div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b>', $context['news_lines'][0], '</b></div>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// The fading delay (in ms.)
var smfFadeDelay = ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], ';
// Fade from... what text color? To which background color?
var smfFadeFrom = {"r": 255, "g": 255, "b": 255}, smfFadeTo = {"r": 0, "g": 0, "b": 0};
// Surround each item with... anything special?
var smfFadeBefore = "<b>", smfFadeAfter = "</b>";
var foreColor, backEl, backColor;
if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")
{
foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};
backEl = document.getElementById(\'smfFadeScroller\');
while (backEl.currentStyle.backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined")
backEl = backEl.parentNode;
backColor = backEl.currentStyle.backgroundColor.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
smfFadeTo = {"r": eval("0x" + backColor[1]), "g": eval("0x" + backColor[2]), "b": eval("0x" + backColor[3])};
}
else if (typeof(window.opera) == "undefined" && typeof(document.defaultView) != "undefined")
{
foreColor = document.defaultView.getComputedStyle(document.getElementById(\'smfFadeScroller\'), null).color.match(/rgb\((\d+), (\d+), (\d+)\)/);
smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};
backEl = document.getElementById(\'smfFadeScroller\');
while (document.defaultView.getComputedStyle(backEl, null).backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined" && typeof(backEl.parentNode.tagName) != "undefined")
backEl = backEl.parentNode;
backColor = document.defaultView.getComputedStyle(backEl, null).backgroundColor.match(/rgb\((\d+), (\d+), (\d+)\)/);
smfFadeTo = {"r": parseInt(backColor[1]), "g": parseInt(backColor[2]), "b": parseInt(backColor[3])};
}
// List all the lines of the news for display.
var smfFadeContent = new Array(
"', implode('",
"', $context['fader_news_lines']), '"
);
// ]]></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>
</td>
</tr>
</table>
</div>';
echo $botbox;
}
/* Each category in categories is made up of:
id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
and boards. (see below.) */
echo $topbox;
foreach ($context['categories'] as $category)
{
echo '
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="6">
<tr>
<td colspan="2" class="catbg', $category['new'] ? '2' : '', '" height="18">';
// If this category even can collapse, show a link to collapse it.
if ($category['can_collapse'])
echo '
<a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a>';
echo '
', $category['link'], '
</td>
<td width="4%" class="catbg', $category['new'] ? '2' : '', '"><b>' ,$txt[21], '</b></td>
<td width="4%" class="catbg', $category['new'] ? '2' : '', '"><b>' ,$txt[330], '</b></td>
<td width="22%" align="center" class="catbg', $category['new'] ? '2' : '', '"> ', $txt[22], '</td>
</tr>';
// Assuming the category hasn't been collapsed...
if (!$category['is_collapsed'])
{
/* Each board in each category's boards has:
new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
children (see below.), link_children (easier to use.), children_new (are they new?),
topics (# of), posts (# of), link, href, and last_post. (see below.) */
foreach ($category['boards'] as $board)
{
echo '
<tr class="windowbg2">
<td class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
echo '</a></td>
<td ', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '' , '>
<b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
', $board['description'];
// Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
if (!empty($board['moderators']))
echo '
<div style="padding-top: 1px;" class="smalltext"><i>', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ': ', implode(', ', $board['link_moderators']), '</i></div>';
// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
if (!empty($board['children']))
{
// Sort the links into an array with new boards bold so it can be imploded.
$children = array();
/* Each child in each board's children has:
id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}
echo '
<div style="padding-top: 1px;" class="smalltext"><i>', $txt['parent_boards'], ': ', implode(', ', $children), '</i></div>';
}
// Show some basic information about the number of posts, etc.
echo '
</td>';
if(!$board['is_redirect'] || !$modSettings['redirect_hide_columns'])
{
echo '
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">';
if($board['is_redirect'])
{
/* We're not hiding columns, but this is a redirection board and we can't have posts
or topics, so just show "--" instead (ala IPB) */
echo '--';
}
else
{
echo '
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330];
}
echo '
</span></td>';
}
echo ' <td class="smalltext" valign="middle" width="25%" style="padding-left: 12px;">';
/* The board's and children's last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']) && !$board['is_redirect'])
echo $board['last_post']['time'], '<br />
<b>', $board['last_post']['link'], '</b> ', $txt[525], '
', $board['last_post']['member']['link'];
echo '
</td>
</tr>';
}
}
echo '
</table></div>';
}
echo $botbox;
echo $leftboxbot;
if ($context['user']['is_logged'])
{
echo '
<div style="padding-top: 16px;"><table border="0" width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr>
<td align="left" class="smalltext" valign="top">
<img src="' . $settings['images_url'] . '/new_some.gif" alt="" align="absmiddle" border="0" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/new_none.gif" alt="" align="absmiddle" border="0" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="right" class="smalltext">';
// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '
<a href="', $scripturl, '?action=markasread;sa=all;sesc=' . $context['session_id'] . '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/markread.gif" alt="' . $txt[452] . '" border="0" />' : $txt[452]), '</a>';
echo '
</td>
</tr>
</table></div>';
}
else
echo '<div style="padding: 0px;"><table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="left" class="smalltext">
</td>
<td align="right" class="smalltext">
</td>
</tr>
</table></div>';
echo $rightboxbot;
// Here's where the "Info Center" starts...
echo $leftboxbot2.'<div style="font-weight: bold; text-align: center;">'.$txt[685].'</div>'.$rightboxbot2;
echo '<div style="padding-left: 0px; padding-right: 0px;">'.$topbox;
echo '
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="4"> ';
// This is the "Recent Posts" bar.
if (!empty($settings['number_recent_posts']))
{
echo '
<tr>
<td class="catbg" colspan="2">', $txt[214], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=recent">
<img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" border="0" /></a>
</td>
<td class="windowbg2">';
// Only show one post.
if ($settings['number_recent_posts'] == 1)
{
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (it's id.)
echo '
<b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
<div class="smalltext">
', $txt[234], ' "', $context['latest_post']['link'], '" ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
</div>';
}
// Show lots of posts.
elseif (!empty($context['latest_posts']))
{
echo '
<table width="100%" border="0">';
/* Each post in latest_posts has:
board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
subject, short_subject (shortened with...), time, link, and href. */
foreach ($context['latest_posts'] as $post)
echo '
<tr>
<td class="smalltext" align="right" valign="top" nowrap="nowrap">[', $post['board']['link'], ']</td>
<td class="smalltext" valign="top">', $post['link'], ' ', $txt[525], ' ', $post['poster']['link'], '</td>
<td class="smalltext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
</tr>';
echo '
</table>';
}
echo '
</td>
</tr>';
}
// Show information about events, birthdays, and holidays on the calendar.
if ($context['show_calendar'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=calendar">
<img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="smalltext">';
// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
if (!empty($context['calendar_holidays']))
echo '
<span style="color: #', $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';
// People's birthdays. Like mine. And yours, I guess. Kidding.
if (!empty($context['calendar_birthdays']))
{
echo '
<span style="color: #', $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';
/* Each member in calendar_birthdays has:
id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
foreach ($context['calendar_birthdays'] as $member)
echo '
<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
}
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '
<span style="color: #', $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';
/* Each event in calendar_events should have:
title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
foreach ($context['calendar_events'] as $event)
echo '
', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';
// Show a little help text to help them along ;).
if ($context['calendar_can_edit'])
echo '
(<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
echo '
</span>
</td>
</tr>';
elseif ($board['is_redirect'])
{
if($board['redirect_count_clicks'])
{
// How many redirected clicks? We have to be grammatically correct, you know ;)
echo ($board['redirect_clicks'] == 1 ? $txt['redirected_click'] : '<b>' . $board['redirect_clicks'] . '</b> ' . $txt['redirected_clicks']);
}
else
{
// For now, just show this filler text. I'll probably do more with this in the next version...
echo 'N/A';
}
}
}
// Show a member bar. Not heavily ornate, but functional at least.
if ($settings['show_member_bar'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $txt[331], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
', $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' : '', '<img src="', $settings['images_url'], '/icons/members.gif" alt="', $txt[332], '" border="0" />', $context['show_member_list'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">
<b>', $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' . $txt[332] . '</a>' : $txt[332], '</b>
<div class="smalltext">', $txt[200], '</div>
</td>
</tr>';
}
// Show YaBB SP1 style information...
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=stats">
<img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<table border="0" width="90%"><tr>
<td class="smalltext">
<div style="float: ', !$context['right_to_left'] ? 'left' : 'right', '; width: 50%;">', $txt[490], ': <b>', $context['common_stats']['total_topics'], '</b></div>', $txt[489], ': <b>', $context['common_stats']['total_posts'], '</b><br />', !empty($context['latest_post']) ? '
' . $txt[659] . ': "' . $context['latest_post']['link'] . '" (' . $context['latest_post']['time'] . ')<br />' : '', '
<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</td>
<td width="32%" class="smalltext" valign="top">
', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br />
', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />';
// If they are logged in, show their unread message count, etc..
if ($context['user']['is_logged'])
echo '
', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['messages'], '</a></b> ', $txt['newmessages3'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], '</a></b>';
echo '
</td>
</tr></table>
</td>
</tr>';
}
// "Users online" - in order of activity.
echo '
<tr>
<td class="catbg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" border="0" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">';
if ($context['show_who'])
echo '
<a href="', $scripturl, '?action=who">';
echo $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];
// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';
// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];
// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];
echo ')';
}
if ($context['show_who'])
echo '</a>';
echo '
<span class="smalltext">';
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);
echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</span>
<hr /><span class="smalltext">
Most users online today: '.$modSettings['mostOnlineToday'].'
Most users online ever: <b>'.$modSettings['mostOnline'].'</b> ( '.timeformat($modSettings['mostDate']).' )
</span>
</td>
</tr>';
// If they are logged in, but SP1 style information is off... show a personal message bar.
if ($context['user']['is_logged'] && !$settings['show_sp1_info'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $txt[159], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
', $context['allow_pm'] ? '
Hi whenever I try to Install this Mod it gives the Following Error:
Installing this package will perform the following actions:
Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification - Modification parse error
I don't know what is wrong. Can Anyone help? I use SMF 1.1.2
You need to do a manual installation...the error simply tells you that that file has been previously modified and thus it is not the same as the unmodified file the mod is geered to change.
Quote from: CaNe on March 14, 2007, 04:04:18 AM
Quote from: Greenman on March 13, 2007, 04:58:46 AM
^ Then obviously they might be causing it... :-\
Anyways, I fixed my above error, but now everytime I view any board I get:
QuoteParse error: syntax error, unexpected ',' in /.../Themes/babylon/MessageIndex.template.php on line 111
and here is line 111:
Quoteecho ($board['redirect_clicks'] == 1 ? $txt['redirected_click'] : '<b>', $board['redirect_clicks'], '</b> ', $txt['redirected_clicks']);
I don't see anything wrong with it, and tried taking out the ","s one by one and all together, but they need to be there for things to work properly.
help? :(
Umm actually this is the mod i tryed to install first before any others and this is what i got. i uninstalled all my other mods and retryed still the same thing.
Unless your forum was entirely new and had never had any mods or edits applied to it it is highly likely that past alterations left behind remnants of themselves despite your uninstallations. These are
not the fault of this mod. You may need to start again with a fresh file set on a test forum...add in all the mods you want making sure that they work properly...backup your live/production forum database and the files of your live forum...using the backup of your live/production forum copy it to a new database...link a fresh installation of SMF to that database...add in the mods you checked via your test forum...check everything...test extensively. When you are entirely satisfied that all is well copy the files except for the settings.php and settings.php.bak in the forum root...making sure you still have the copy of them that you took earlier delete all save these files from your live/production forum and copy the files from the second forum in their place.
This may sound like hard work...it's not that hard or that much work...it will give you clean files without the chaff left over from umpteen install/uninstall operations.
I'd love to have this option, but I keep getting this error:
Duplicate column name 'is_redirect'
File: C:\Apache2\htdocs\Packages\temp\RedirectPdb.php
Line: 44
no generic solution for this kind of bug?
Quote from: Master of Eternity on March 23, 2007, 08:05:50 AM
Hi whenever I try to Install this Mod it gives the Following Error:
Installing this package will perform the following actions:
Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification - Modification parse error
I don't know what is wrong. Can Anyone help? I use SMF 1.1.2
Quote from: TrueSatan on March 23, 2007, 08:13:03 AM
You need to do a manual installation...the error simply tells you that that file has been previously modified and thus it is not the same as the unmodified file the mod is geered to change.
Umm, so manual installation is needed if I downloaded it here twice but got the same error? I can install it but is there a problem?
When you see an error like the one quoted it tells you that the automatic installer won't be able to do a complete installation...it probably can install into the files it shows as "passed". You can thus save on some work by copying all the files that the mod seeks to modify to your local machine, running the automatic installer and ignoring, for the moment, the failed items. copying to your local machine again (but not overwriting the previous copy) the files. Compare the files the installer claimed to have passed and see if it did install properly into those...if so then that's fine and it's saved you form having to do it. Manually install into those files the automatic installer couldn't handle. On your server rename the old versions of the files you manually install into then upload the new (manual install) versions of them.
Done this way you keep the files you alter on your server so that you can quickly revert to them if there is a problem with your manual install....to revert run the package manager automatic uninstall then manually revert the files you manually altered.
BTW remember never to do such work on a live/production forum...get two test forums...one completely fresh with no mods, themes or fiddling about on it...keep it that way by backing it up in pristine state and restoring the pristine state over it after each use...use it to test that a mod etc works at all...if it works in that then your second test forum should be a copy of the files and database of your live forum...install into that and you'll be able to see if it would be practical/safe to install into your live/production forum...do a lot of testing first though.
I've got it installed on 1.1.2 and it is a hit-or-miss mod
If I am logged in as an admin, then it just directs me to the new (blank) board with no messages...
If I am logged in as a usual member, then it works just fine.
If I am viewing the forum as a guest, then it just directs me to the new blank board with no messages... like it does if I'm logged in as the admin.
Then when I change 1 setting, "Count all clicks?", then it stops working for regular members and starts working for guests. The admin still cannot view it.
Crazy
Any ideas? I just double checked the coding and everything is there correctly.
Has anyone gotten this to work perfectly with 1.1.2?
Since I only need this to work for one board, I think I can write a script that will check what the URL is, and if it detects the correct board url (in my case "board=63.0") then I can have it replace the url with the new url that I want to redirect to.
That would be a good temp. fix, but I like having the counter of the redirects and such working..
Anyone? Thanks
Mike
I just found out that when it does not redirect me, instead taking me to the empty board I created (index.php?board=63.0), after I let my browser (firefox v2) sit there for a while, if I hit reload, then all of a sudden it redirects me to my specified url.
crazy
It only does this if you let it sit for a while. If you hit F5 F5 F5 F5 at first, then nothing happens. But if I leave the window open for a while, and then reload it, then it magically redirects.
More info:
When I enable a target for "_blank", it does open up a new window, but it then loads the new empty board #63 in this new window instead of redirecting.
So everything seems to work except for the actual redirection, which sometimes works and sometimes doesnt.
I've got class tonight, so I will check back here later on this evening
Thanks
BigMike
Wow, I just replaced
file load.php
header('Location: ' . $row['redirect_url']);
with
header('Location: http://my.actual/redirected.url');
and now it will redirect admins but not guests or regular members lol
I am home now but I don't have much time to play with this mod right now, so I got a quick workaround to ......... work ;D
What I did was I deactivated the board (so that it is no longer a redirect) and then posted a new (and only) thread in the newly created board.
This new thread has a link that the user may manually direct himself to (the link that I want the board to redirect to).
Then I reactivated the board as a redirect.
Now, when the redirect script randomly does not redirect the user, the user sees that there is 1 thread in the new board. It's subject is the same as the directed link's title to entice the user to click on it. Then when the forum tries to load a thread that is within a redirect board, it naturally redirects the user to the redirect url.
This lame work around works and I'm happy for now.
G'Night
BigMike
I made use of the "target" field as a URL to an image instead. I hardcoded the target-parameter because I don't need that. This enables me to use an image as the link (instead of plain text).
It would be nice to have both the target AND a place to put an image aswell. Perhaps in a future version?
I made use of the "target" field as a URL to an image instead. I hardcoded the target-parameter because I don't need that. This enables me to use an image as the link (instead of plain text).
It would be nice to have both the target AND a place to put an image aswell. Perhaps in a future version?
I will look into adding an image feature in the next version. I need to go through this one and fix any remaining bugs first.
Ok. Try it now. I just uploaded a new package that fixes the following bugs:
"Duplicate column" errors (reason: SHOW COLUMNS returns the column names in a column called "Field", not "name")
Changed "in_array()" to "array_key_exists()" in RedirectPdb.php (in_array() looks at array values, but column names are keys)
Fixed parse error in Babylon template files
Fixed path to Babylon theme's BoardIndex.template.php
Hopefully that will fix everything. It will not fix the "Modification parse error" issue with PHP 5.2 though - this is a known issue with SMF that seems to be related to the size of the modification files, but I will need to split the mod into two separate modification files for this, and didn't want to confuse those who are still stuck on 1.0.10.
Yeah!
perfect for me oldies!
perfect install and perfect use. no more problem for me. ;D
ooh can't wait to try the update
There are no additions in my board menu it installed fine but
wheres the beef ????
Cozmo
Broken package? I tried to install in SMF 1.1.2 and found that it couldn't install: not a valid package or may be broken...
I do really hope SMF 2.0 will make this a default feature... (phpBB3 does).
Quote from: Diamondcomputer on April 24, 2007, 09:58:27 AM
There are no additions in my board menu it installed fine but
wheres the beef ????
Cozmo
Admin -> Manage Boards
Click Modify next to a board
Check the box next to "Make this board a redirection board"
The other options will appear after you check the box :)
Quote from: Exsharaen on April 24, 2007, 11:09:36 AM
Broken package? I tried to install in SMF 1.1.2 and found that it couldn't install: not a valid package or may be broken...
I do really hope SMF 2.0 will make this a default feature... (phpBB3 does).
Probably a minor typo in package-info.xml. I'll take a look at it and update it.
really no problem for me with it.
Have you tried to redownload it?
One thing I just thought of...
If you're trying to download it directly through the package manager, it probably won't work, because the package manager is still using the "mods.simplemachines.org" address, which redirects to the new URL, and SMF wasn't designed to handle this. Change the URL for the package server to http://custom.simplemachines.org/mods and try again.
Is there any way to install this mod on SMF 1.1.2?
is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)
Quote from: sharks on May 13, 2007, 04:59:57 AM
is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)
I am not using this mod but I just saw the screenshots and I suppose you can leave the column target for the url blank. I believe you are using _blank in that box, which means that it would open in a new window. Hope that makes some sense. But I am not sure about the same.
Anyways, congrats to the developers for this mod. I am also planning to use it soon enough in my website.
Quote from: El Reclutador 2003 on May 12, 2007, 08:53:32 PM
Is there any way to install this mod on SMF 1.1.2?
Are you running into problems? The mod is already compatible with SMF 1.1.2.
Quote from: sharks on May 13, 2007, 04:59:57 AM
is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)
Just leave the "target" field blank if you want it to open in the same window :)
Quote from: Oldiesmann on May 19, 2007, 12:09:43 PM
Quote from: El Reclutador 2003 on May 12, 2007, 08:53:32 PM
Is there any way to install this mod on SMF 1.1.2?
Are you running into problems? The mod is already compatible with SMF 1.1.2.
Yes sorry, now it runs ok :) Thanks!!
Hi i am getting this error too
/Sources/Subs-Boards.php Test failed
i am not a tecky so any help on this need to be simple ........LOL
How do you manually modify it in a different theme?
Works like a charm for me (1.1.2). Good job.
Hey, I'am French !
I must make modifications in the "BoardIndex.template.php" but which requires to replace is not there in my file:
Quote</operation>
</file>
<file name="$themedir/BoardIndex.template.php">
<operation>
<search position="replace"><![CDATA[
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
]]></search>
<add><![CDATA[
<td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '' , '>
<b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
]]></add>
</operation>
My "BoardIndex.template.php" = http://dl.free.fr/bV9k0Qss/BoardIndex.template.php
---------------------------------------------------------------------------------------------------------------------
Similar for my "MessageIndex.template.php", the modifications cannot be done because I do not find its in my file:
Quote<file name="$themedir/MessageIndex.template.php">
<operation>
<search position="replace"><![CDATA[
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
]]></search>
<add><![CDATA[
<td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '', '>
<b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
]]></add>
</operation>
My "MessageIndex.template.php" = http://dl.free.fr/Xq4MKyzH/MessageIndex.template.php
I'm SMF 1.1.2 and Theme Dilbermc !
Thanks !
Hi,
Once we post a message its redirect to that board. Can We change like redirect to the post? How?
Can you not put a URL redirection into the BOARD NAME box?? that way it will redirect you to any webpage by clicking the board name without even installing a MOD.
I am very sorry if this has been brought up before but after an hour of forum searching I hope I'm safe posting.
Is there any chanse this mod could be extended to redirection topcis? (I have a topic with some details that I want linked on a few more boards but not all, e.g. not a global announcment) The funcion of moving a topic and having a "ghost" topic linking to the new location is exactly what I want but want to be able to do it manually (e.g. have the option to do it when I press "New Topic")...
Again, sorry if this has been brought up before.
Thanks,
dex of www.team-evo.co.uk
my footer area shows this
"$txt['redirected_click'] = '1 redirected click'; $txt['redirected_clicks'] = ' redirected clicks'; $txt['redirect_count_clicks'] = 'Count all clicks?'; $txt['redirect_count_clicks_desc'] = 'This will keep track of how many times the board redirects your users'; $txt['redirect_enable'] = 'Make this board a redirection board'; $txt['redirect_enable_desc'] = 'This will redirect any user attempting to access this board to a URL of your choice'; $txt['redirect_location'] = 'URL to redirect user to'; $txt['redirect_hide_columns'] = 'Hide "posts" and "topics" for redirection boards'; $txt['redirect_no_child'] = 'Redirection boards can\'t have child boards!'; $txt['redirect_no_url'] = 'Redirection boards must have a URL!'; $txt['redirect_reset_clicks'] = 'Reset click count'; $txt['redirect_reset_clicks_desc'] = 'This will reset the click count to 0.'; $txt['redirect_target'] = 'Target for the URL'; $txt['redirect_target_desc'] = 'The target for the redirection link (ie _blank)'; "
when i upload the mod, on my other forum (with the same theme) it doesnt...
see: http://www.freemasonhq.com
Hi!I need help here.I am using SMF 1.1.3 currently and I tried to install the latest version of Redirection Board.I faced an error for the Sources/Suns-Boards:
Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test failed
7. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
I've tried to use the SMF Package Parser to work this out and install manually but I was returned by the response:
ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/groups/modparser/htdocs/index.php:133
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/groups/modparser/htdocs/index.php(133): SimpleXMLElement->__construct('')
#1 /home/groups/modparser/htdocs/index.php(94): parsePackageInfoXML('/tmp/smf_xml/pa...', 'install', 'all')
#2 /home/groups/modparser/htdocs/index.php(735): parseArchive('/tmp/phpqhWTUh', 'install', 'all')
#3 {main}
XML File:
***********Can someone please help me???A step by step installation procedure help will be appreciated.Does anyone has a solution for this???
Quote from: ES23 on July 19, 2007, 01:15:16 AM
6. Execute Modification ./Sources/Subs-Boards.php Test failed
I'm getting the same error. Really a shame because this mod is exactly what I've been looking for.
I'm trying to get my redirect to open in a new window but even thought I include _blank into the Target for the URL, it still opens in the same window. Help someone?
SMF Ver- 1.1.3
I am getting error when i click On Apply Mod-
apply Mod
This package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Install Actions
Installations actions for "Redirection Boards":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
But i m not getting the Option in the Boards, so its already installed???????
Please Help
Thanks
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi192.photobucket.com%2Falbums%2Fz31%2Fekfaysal%2Fh.jpg&hash=d24d7ce23953f0216a1df19e2a6de0153a2c7de2)
This is happening to me when i m trying to upload in my forum
Please help
im using smf 1.1.3 with Default theme color variation
I also got the error:
6. Execute Modification ./Sources/Subs-Boards.php Test failed
Installed Mods:
Tiny Portal
Gallery 2 Integration
Custom Board Sort
Repeating Calendar Events
http://baker.hebxi1.com
After going thru most of the pages on this thread, I decided to use a simple href tag in the board title, as suggested back on page 2 or so.
My situation is probably unique in that I actually USE the board I would like to redirect ... I have posts in there that another site pulls from to act as a type of blog. So while I will need to be able to access them, I don't want the general public to do so - I want them directed to the other site.
Don't know if that is an option using the mod? Currently I just have to remember the board ID and enter it into the address manually to access the board and posts.
Is there a new update to this for 1.14 ? can't seem to install the mod :( same error as above post..
Can this also work with Valid Dilber MC Theme ? it errors also.. i first tried the default theme.
Quote from: feelingshehides on October 04, 2007, 12:23:56 AM
Is there a new update to this for 1.14 ? can't seem to install the mod
feelingshehides, I assume you are talking about version 1.1.4.
I installed this Redirection Board mod on my forum when it was version 1.1.2.
I then updated my forum to 1.1.3 and the mod still worked.
And now I just updated my forum to 1.1.4 and the mod
still works.
So the mod will
RUN on SMF 1.1.4, but as for the installation, I do not know about this.
Also, the reason why I came back here is because I wish to address an issue I have in my error log.
I remember a while ago I found the solution on SMF for this, but I've searched, searched, and then when I was tired of searching, I searched more and could not find exactly what I am looking for.
Oldiesmann: I am getting a
Undefined index: current_board error, about 5,000 something times per day. I usually just empty out my error log once it gets to page 2,000 or so, but I order to track other errors, I really should take care of this problem.
I remember the fix was just something simple. I think SMF just needs to know that the variable "current_board" is a proper variable that is used by the system.
My searches returned a lot of threads (containing the search term "Undefined index") but they were either not answered or contained answers not pertaining to this situation.
Thanks a bunch
BigMike
when i was installing the redirection mod on my custom theme i dont know where to put this one cause the search is very vague.. btw i'm following the modification_1-0.xml is that the correct file?
<operation>
<search position="after"><![CDATA[
echo '
</td>
</tr>';
]]></search>
<add><![CDATA[
elseif ($board['is_redirect'])
{
if($board['redirect_count_clicks'])
{
// How many redirected clicks? We have to be grammatically correct, you know ;)
echo ($board['redirect_clicks'] == 1 ? $txt['redirected_click'] : '<b>'. $board['redirect_clicks'] .'</b> '. $txt['redirected_clicks']);
}
else
{
// For now, just show this filler text. I'll probably do more with this in the next version...
echo 'N/A';
}
}
]]></add>
</operation>
i have a lot of this
echo '
</td>
</tr>';
I had the same problem while installing on versatility 2 theme.
I thought I had it right but kept getting template error, so gave up.
I did not read all replies here, but are there anywhere some permissions settings related to membergroups?
What I would like to do is to redirect member without enter board permission to an url of my choice, but once they are added to a specific membergroup, they should be able to enter that board without getting redirected.
This way, I could show a message with some info about the board and why they can not enter the board etc.
When you create a board you have the option to make it available to only certain groups.
Make a redirect board available to one group and a real board available to another group. When you change the user to the group then then see the real board and not the redirect.
I'm running SMF 1.1.4 (Theme = 'Black Rain' by Crip) and thankfully I rarely get test failures when looking to install new mods. Sadly I am getting three such errors with this mod which is a shame because I could really use it.
The results of a test install on the package file are as follows:
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test failed
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
The mods I have installed (and there are many) are as follows:
Mod Name Version
1. SMF 1.1.2 Update Package 1.1.2
2. PaypalDonations 1.7 [ Failed | Not Applied ]
3. Color Bar 2.0
4. Award Mod 1.11
5. Integrated Chat 2.7
6. SSI Membergroup 1.0
7. Enhanced Calendar 1.1
8. Custom Profile Field Mod 3.16
9. Who Voted What? 1.1.2
10. Add PM Info To header (v1.1) 1.1
11. RSS Feed Icon 1.1
12. Users Online Today Mod 1.4.0
13. Topic Ratings 1.03
14. Reg Bar 1.0
15. SMF Shoutbox 1.16
16. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0
17. SMF 1.0.11 / 1.1.3 Update 1.1
18. Order News 1.0.1
19. Stars to Profile 1.0.1
20. YouTube BBCode 1.3
21. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0
22. XFire Field 1.4
23. Welcome Topic Mod 1.0
24. Advanced Visual Verification 1.2
25. Redirection Boards 2.01 [ Failed | Not Applied ]
Any ideas?
The more mods you add the more fails you will get...
Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file(s) in question and that you thus need to do a manual installation of this mod. Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
That last link is bogus. I uploaded the Board Redirect package tar by Oldiesmann and it tells me its:
Readme:
Ad Management Mod
Written by: jerm (electrohome88)
Email:
[email protected]Support site: www.smfads.com
----------
This mod will display ads on various parts of your forum on the default theme in SMF Version 1.1
---------
Version 2.3 Jan 11, 2007
- New setting: Disable ads for admins
- New setting: Disable reports(one less query)
- New setting: Disable all ads
- New setting: Ability to make post ads not look like posts.
- Added the ability to display ads between categories
- Added the ability to display ads after the last post
- Added the ability to display ads under child boards
- Fixed issues about not finding functions(caused forums to crash)
So I tried a couple of other mods and it came up with the same BS. Clearly this is some kind of scam to get SMF people with half a brain to insert ad code in to their forums.
The information I provided was not bogus!
The package parsers sometimes suffer from cache issues and so the previous...and entirely legitimate...mod sent to them can be shown instead of the one you uploaded. The ad management mod, had you bothered to check you would have found this out, is an approved SMF mod package not some ad scam:
http://custom.simplemachines.org/mods/index.php?mod=255 (http://custom.simplemachines.org/mods/index.php?mod=255)
Please do not post in the insulting manner you have just used!
Apologies if the post seemed offensive that was not my intent. The statement of "bogus" was not implying that your post was, and by association "you", just that link! However, as far as I am concerned that link is useless. I went back again this morning and tried again and I am getting yet another mod that I didn't input. Clearly they need to figure out a way to flush the cache serverside after each session otherwise it fails as a service unless by some miracle the mod last entered also happens to be the one you want as well.
The link above that dansofasutralia.net one just errors out each time telling me that the package-info.xml file is invalid!
Sadly because of the nature of my work, I simply don't have the time available to do the reading research and data assimilation required by the first links you provided although I strongly suspect that is where I will really find the answer I need to fix my problem.
Unfortunately server issues do happen and when the system is one that the site admin may not, personally, use on a regular basis they may not be aware of the problem. A few installations of the Package Parser have been updated recently is reponce to discussions had on the bugs forum here between Sarge and myself, one such is that on SMF Helper...that installation works properly with this mod.
http://www.smfhelper.info/forum/package.php5 (http://www.smfhelper.info/forum/package.php5)
Should you have a problem with that installation of the Package Parser please contact any of the admins on SMF Helper (I'm an admin there) and we will remedy any problems as quickly as possible...that said it is not a requirement for all mods to work with the Package Parser and some simply don't do so.
Well thanks that one worked and parsed very nicely (based upon 1.1.4)
I decided to read through the whole thing before attempting any changes but I stopped when I got to this:
In file $sourcedir/ManageBoards.php
Find:
'permission_mode' => 'normal',
Do something with this: (position not specified)
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '',
I'm no code guru so what are the possibilities that someone knows "what" to do with that?
It should have, at the problem point, stated "Add after"....I'll have to look at the mod some time to try to see what made that glitch occur...haven't seen it happen previously.
Since the great hardware crash of 2008, can someone send me this mod? The mod so far is not able to be downloadable yet. fightinirishman2 at hotmail dot com
Thanks.
http://custom.simplemachines.org/mods/index.php?mod=38 (http://custom.simplemachines.org/mods/index.php?mod=38)
The mod downloads without problems.
Now it works. Cool.
Is there anyway that you can change this mod so that it redirects topics instead of the boards?
Quote from: Pond_Hockey on February 09, 2008, 10:39:55 PM
Is there anyway that you can change this mod so that it redirects topics instead of the boards?
If you move topics, you can leave a redirection move notice in its place, that would achieve the same thing, I think :)
That didn't work. What I want is so that when you click the topic title to enter the topic it takes you to another site. Is that possible?
Bonjour,
I Have a problem with this mod in boardindex.template.php
Find This :
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
Change With This:
<td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '' , '>
<b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
But me i have this code:
<td class="windowbg2">
',$board['viewer_text'],'<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
how i can change it ??
thanks for your help.
version 2.0.1
default theme
error in theme.template
ive deleted
hi all
i just install version 2.0.1
but i got this little 'inconvinience"..
after installing this mod, the list of my child board that usually appear in a bold text which is indicate that there is a new post in there turn into normal text ( just like it was visited )
is there anyway how to fix this ?
thanks before
Oldiesman,
Installed this mod. We are using dilbermc. The mod is working correctly except for one thing. When you select the redirect option, then _blank to create a new window upon opening, the link works but does not open a new window. I uninstalled, reinstalled, followed steps in the above thread and still can't get any of the redirects to open in new window.
Is there a hack that can be used to force open all in new window? I don't want people to navigate away from the forum to another page, then have to navigate back to the forum.
Thanks in advance. Excellent mod though. I have been looking for this capability for a while.
Quote from: NiteCloak on January 11, 2008, 10:30:06 AM
I'm no code guru so what are the possibilities that someone knows "what" to do with that?
a error in a mod package:modification_1-1_part1
Search: <operation>
<search postion="before"><![CDATA[
'permission_mode' => 'normal',
]]></search>
<add><![CDATA[
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '',
]]></add>
</operation>
Replace: <operation>
<search position="before"><![CDATA[
'permission_mode' => 'normal',
]]></search>
<add><![CDATA[
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '',
]]></add>
</operation>
error:postion --> pos
ition
Hello,
Thank you for the reply. Can you tell me where I need to place the hack you included in your reply?
Sorry, still new to PHP. The good thing is that the more I hang around this forum, the better I get at it.
This problem
Quote from: NiteCloak on January 11, 2008, 10:30:06 AM
Well thanks that one worked and parsed very nicely (based upon 1.1.4)
I decided to read through the whole thing before attempting any changes but I stopped when I got to this:
In file $sourcedir/ManageBoards.php
Find:
'permission_mode' => 'normal',
Do something with this: (position not specified)
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '',
I'm no code guru so what are the possibilities that someone knows "what" to do with that?
I aam not sure either. But in looking at the code, I would say the following:
Code:
'target' => '',
Replace:
'target' => '_blank',
Wouldn't this force a new window on click? I think it would. However, I do not know much about SMF hacks either. So, maybe someone else has some input here. Again, thank you for you help so far.
I get an error :(
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test failed
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Skipping file
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Skipping file
12. Execute Modification ./Themes/classic/BoardIndex.template.php Skipping file
13. Execute Modification ./Themes/classic/MessageIndex.template.php Skipping file
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
use the package parser in my signature and either install the mod manually or use it to edit those files that failed :)
Quote from: perplexed on March 13, 2008, 12:42:50 PM
use the package parser in my signature and either install the mod manually or use it to edit those files that failed :)
I got this after using the parser...
Quote
ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(782): parseArchive('/tmp/phph1K2JI', 'install', 'theme')
#3 {main}
XML File:
Quote from: perplexed on March 13, 2008, 12:42:50 PM
use the package parser in my signature and either install the mod manually or use it to edit those files that failed
Thank you. I keep forgetting to use the package parser. It is really a an awesome tool. I finally bookmarked it so it would be handy when needed.
Thanks again.
no probs, I use it a lot myself :)
QuoteERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all')
#2 /home/sleepy1/public_html/PackageParser/index.php(782): parseArchive('/tmp/phppPBGwi', 'install', 'all')
#3 {main}
XML File:
That's the error i get trying to use the parser. :/
Hello,
I ran the package parser and got the following errors.
QuoteERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(782): parseArchive('/tmp/php6j5I3B', 'install', 'theme')
#3 {main}
However, I have installed this mod regardless and the redirects are working as they should. The only exception is that when you tell the redirect to open the link in a new window, using "target=_blank", it does not open in a new window. This is the only complaint that I really have at this point. I am not so sure that I want users navigating away from the forum without an easy way to get back to that particular topic.
Based on the above, I suspect that the problem is the paths stated in the XML file. Of course, I would like to see a correction for this as it is just one more of those things that ticks at me. But, I guess if the redirects are working, that is what I was after anyway.
Quote1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Solution?
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Solution?
use the package parser to edit the failed files manually :)
I have the same as pp and get this on the parser
ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpc2GxVy', 'install', 'all')
#3 {main}
XML File:
try opening the install.xml file in a text editor and following the instructions to edit the files yourself. It doesn't make it easy for you like the package parser but it is still doable. Just remember when it says 'add before' it means 'add after' and vice versa :)
I would but there is nothing in there that is worth reading
QuoteThe XML mod format is quite simple to understand once you get the hang of it.
<file> - this is the name of the file we're editing
<operation> - a single step in the modification process
<search> - what to search for - the position indicates where the code we're searching for should go in relation to what we're adding:
<search position="after"> - search for the code, and add whatever's in <add> BEFORE it (ie this should come AFTER what we're adding)
<search position="before"> - search for the code, and add whatever's in <add> AFTER it (ie this should come BEFORE what we're adding)
<search position="end"> - add whatever's in <add> at the end of the file
<search position="replace"> - search for this code and replace it with whatever's in <add>
<add> - whatever we're adding (note: <add /> combined with <search position="replace"> means the code you're searching for should be removed)
If you do not pay attention to "position", the mod will not work properly and you will probably get errors...
sorry wrong title. If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification (number).xml. It's those files you need to be looking at.
I give up, it is driving me nuts
Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Solution?
use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]
ERROR: The package-info.xml file is invalid!
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}
XML File:
Quote from: JoshieDaMan on April 05, 2008, 09:24:41 PM
Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Solution?
use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]
ERROR: The package-info.xml file is invalid!
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}
XML File:
see below
Quote from: quiteperplexed on April 05, 2008, 07:57:35 AM
sorry wrong title. If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification (number).xml. It's those files you need to be looking at.
this mod isn't installing right for me. the tests are successful and it appears to install fine, but when i go to manage my board, there is no text as seen in my attachment. i cant use the parser, as others have tried too.
im using smf 1.1.4. tried viewing the admin panel with the core theme and my others and they all yield the same thing. i've looked at both parts of modification_1-1 and the edits required for manageboards.php been done correctly. anyone know why no text is coming up?
This mod isn't working for me either. It installed fine (1.1.4) but there's no option to have it setup.
Quote from: quiteperplexed on April 06, 2008, 05:16:58 AM
Quote from: JoshieDaMan on April 05, 2008, 09:24:41 PM
Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Solution?
use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]
ERROR: The package-info.xml file is invalid!
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}
XML File:
see below
Quote from: quiteperplexed on April 05, 2008, 07:57:35 AM
sorry wrong title. If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification (number).xml. It's those files you need to be looking at.
Parser mod would be better, and clean instruction for me. Is there a way to fix one for mod parser?
Okay this mod installed fine for me (SMF 1.1.4) however when I went into the boards to redirect a board it had double installed the "Would you like to make this a redirect board"
So I uninstalled it until I could get some help and it left traces of rs_rdirect or something similar behind and disabled all my boards. Using FTP and searching for the error line I was able to remove all traces of the redirect board.
Now the problem I am having is when I go to make a new board at the very bottom I still have the options to make the board redirect even though I have uninstalled the mod and removed the error traces it left behind.
Where can I find where the code for this part of the mod so I may remove it and try this mod again?
Thanks for the help.
Let me know if I need to make anything more clear.
Quote from: Joker Grafix on April 22, 2008, 12:34:03 AM
Where can I find where the code for this part of the mod so I may remove it and try this mod again?
I would just use a package parser and find all the edits that were made to make the mod work. Just remove everything that it says was added.
My Install is failing on these things:
Execute Modification ./Themes/default/BoardIndex.template.php Test failed
Execute Modification ./Themes/default/MessageIndex.template.php Test failed
Can I Install and edit these files manually? If so what code do I need to add/change in these files?
Cheers
Is there a way to have the mouseover text show how many redirects when the redirect board is a child?
It currently shows: No New Posts (topics: 0, Posts: 0)
It is included in smf 2.0
That's good but i'm not using SMF2 due to using the joomla bridge and not wanting to break that.
So can we get it working with 1.X.X ?
YOu can use this with smf 1
I cant get it working either? is there a direct link for the manual install instructions?
Quote from: MrMoney on May 24, 2008, 01:21:43 PM
YOu can use this with smf 1
Yes but the added feature I mentioned ?
Quote from: Johno69 on May 23, 2008, 11:51:18 PM
Is there a way to have the mouseover text show how many redirects when the redirect board is a child?
Does anyone know why this mod doesn't have a "Download" link next to its name when looking at it through the Package Server (browsing) in the Admin Panel?
Can somewone tell me how do i install this mod on this themes
Outline - http://www.dzinerstudio.com/index.php?action=tpmod;dl=item52
DarkBreack - http://www.dzinerstudio.com/index.php?action=tpmod;dl=item55
When i try to install it says "MessageIndex.template.php error"
thanks
I think you shouldn't replace in "./Sources/ManageBoards.php"
Quote 'permission_mode' => 'normal',
with
Quote
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '
But, instead add after
Quote 'permission_mode' => 'normal',
Because, when you replace it it gives "8: Undefined index: permission_mode" error.
I would love to have a function like this but when I attempt to install on my 1.1.5, default, I get this:
Installations actions for "Redirection Boards":
Installing this package will perform the following actions: Type Action Description
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test failed
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test failed
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test failed
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test failed
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test failed
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Any answers?
On the other hand I also installed it on a clean test site and it installed and it works fine.
This is a great mod and I want it!
My main concern is that I would like to get it into the main site and working
it installed successfully the thing is it shows no words where it is. i can see that it's under "Override Member's Theme" because theres a question mark and to the right is a check spot and when i click the check spot 2 text boxes appear. but i don;t know what to type in them because there is no words
help please, thanks
The bottom box is where you put in something like this: _blank (to open in a new page) and the box above it is where you put the url to redirect to.
Hello Everybody,
I'm new to administrating forums and don't know much about programming.
I installed the Redirect mod without any error messages.
However, when I go to "Modify Boards", I can't see the text associated with the new extra options. I can only see the 2 help question marks, 3 new check boxes, and 2 text boxes. I checked off all the boxes and put the redirect link the first box and my board now redirects. However, while I can see that it keeps track of the number of redirects, the text "redirected clicks" does not show, like on the board at http://smf.oldiesmann.us/.
Is there anything I can do about this?
Also, I can't access the forum homepage under the Babylon theme after installing the mod. (I can still access the admin part though.)
I get the following message:
Template Parse Error!
There was a problem loading the /Themes/babylon/BoardIndex.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/babylon/BoardIndex.template.php on line 131
122: echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
123: // This board doesn't have new posts, but its children do.
124: elseif ($board['children_new'])
125: echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
126: // No new posts at all! The agony!!
127: else
128: echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
129:
130: echo '</a></td>
131: echo '</a></td>
132: <td', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '', '>
133: <b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '', '>', $board['name'], '</a></b><br />
134: ', $board['description'];
How can I get the redirect mod to work with the Babylon theme?
RE: getting the Babylon theme to work
I really had no idea what I was doing, but I opened up the ".../Themes/babylon/BoardIndex.template.php" file in FrontPage and deleted line 131. After reuploading it, I can now see the Home page, but when I click on the board, I get another message:
Template Parse Error!
There was a problem loading the /Themes/babylon/MessageIndex.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 ')', expecting ',' or ';' in .../Themes/babylon/MessageIndex.template.php on line 111
102: echo '
103: ', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], '<br />
104: ', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link'];
105:
106: elseif ($board['is_redirect'])
107: {
108: if($board['redirect_count_clicks'])
109: {
110: // How many redirected clicks? We have to be grammatically correct, you know ;)
111: echo ($board['redirect_clicks'] == 1) ? $txt['redirected_click'] : '<b>' . $board['redirect_clicks'] . '</b> ' . $txt['redirected_clicks']);
112: }
113: else
114: {
115: // For now, just show this filler text. I'll probably do more with this in the next version...
This time I don't know how to even try to fix it... Can anyone help me?
I decided to stick with the default theme, so that I can avoid a lot of future difficulties when using other mods.
Does anyone know why I can't see the redirect text on the forums page, though? I attached a picture of what appears.
Thanks!
looks like it didn't update your language file, check that manualy.
Hi Johno69,
Thanks for your reply! The language file did look like it was missing some information. I followed the manual install instructions and updated the file.
However, I still can't see any text for the redirected boards.... just numbers.
Hello,
I think I found a clue as to what could be causing the problem. When I look at the information on the visitors of the board, I see that the following error message is reported:
8: Undefined index: redirected_clicks
File: /home/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 186
Below is an excerpt of the code from the file involved. Line 186 is the one in red.
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
</tr>';
}
}
echo '
</table>';
}
echo '
</div>';
}
Does anyone know what the problem might be?
Thank you in advance!
I had some problems and then i uninstalled this mod.. But now in the board.. the tick box for the redirection still remains.. i tried alot to remove the box from the files as such but didnt get the solution. This is causing me 29 error pages at a time as i go to the create new board... so please help me fast...
Phew.... I atlast got it removed.. anyways thanks to the one who was trying to answer my question.
I'm wondering if I could use this application paired with a blog mod. What I'd like to be able to do is create a "Random Blog" link that would take you to any of (let's say for the time being) 10 blogs listed.
So - anyone know if there's any way to set it up to allow more than one link per redirect board AND choose a link at random?
*wishful thinking* Thanks in advance for any answers I get.
very nice thanks - you should try make an image so it doesnt show newposts/no new posts icon and an re-directing icon
Quote from: Oldiesmann on October 18, 2004, 07:01:58 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=38)
This provides the functionality for redirecting users when they enter certain boards. Several new options will appear in the "Modify Boards" section of the admin center.
NEW! Version 2.01 released (September 30th, 2006)!
New features:
No new features in this version. Just bugfixes and compatibility with 1.0.8 and 1.1 RC3
Note: Due to the number of bugs in 2.0, you can't upgrade from it. You will need to uninstall it first and re-install this version instead.
Let me know if you have any problems or questions.
Update (9/30/06): Fixed some more bugs and updated the mod to work with 1.0.8 and 1.1 RC3...
Screenshots attached...
First screenshot shows default "Modify Board" screen.
Second screenshot shows several additional redirection boards settings that show up after you check the "Make this a redirection board" box (ah the fun of Javascript).
The third screenshot shows a default redirection board. The "--" column can be hidden by checking the box next to Hide "topics and posts" for redirection boards in the "Edit Features and Options" section (1.0.x) or "Manage Boards -> General Settings" section (1.1). If you aren't counting clicks, "N/A" is displayed instead of the number of clicks.
Test: http://smf.oldiesmann.us/index.php / http://smf.oldiesmann.us/index.php?board=93
I tried to install this mod but i got error...
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test failed7. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Can you pls help to solve this issue
I am getting errors in the error log when i go to create a redirection board.
Here are the errors..
8: Undefined index: permission_mode
File: /home/goldysun/public_html/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 409
And same on Lines 410,411 and 412
This is the Url it shows me that it has came from:- http://goldysun.com/index.php?action=manageboards;sa=newboard;cat=1
Please let me know whats the solution, thank you.
Quote from: Rosenstein on July 05, 2008, 08:43:38 PM
I think you shouldn't replace in "./Sources/ManageBoards.php"
Quote 'permission_mode' => 'normal',
withQuote
'is_redirect' => 0,
'count_clicks' => 0,
'target' => '',
'url' => '
But, instead add after Quote 'permission_mode' => 'normal',
Because, when you replace it it gives "8: Undefined index: permission_mode" error.
Thanks for this tip.
and thanks for the mod, I think this tip should added to packege, because if it's not, we are getting "Undefined index: permission_mode" error"
and here is Turkish Language:
Help.turkish.php
$helptxt['redirect_target'] = 'Hedef URLnin açılacağı pencere. Yönlendirilmiş bölümü aynı pencerede açmak istemiyorsanız bu ayara ihtiyaç duyarsınız.
Hedef bir pencerenin ismi veya takip eden isimlerden biri olabilir:<br />
_blank - Yeni bir pencerede aç<br />
_parent - üst framesette aç<br />
_self - Aynı framede aç<br />
_top - Aynı pencerede aç, frame dışında';
$helptxt['enable_redirect'] = 'Bağlı olmaksızın ya da bunu bir yönlendirme bölümü yapmamak. Yönlendirme bölümü, üyeyi tıkladığında başka bir linke yönlenmesini sağlayan bölümdür.
<b>Not:</b> Bu bölümü yönlendirilmiş bölüm yapmadan önce
lütfen bölümün boş ya da herhangi bir alt bölümü olmadığından emin olun.
Ayrıca şunuda bilin ki, o bölümü görüntülemeye izni olmayanlar bile direk
url ile yönelndirilmiş bölüme giriş yapabilirler...';
$helptxt['redirect_hide_columns'] = 'Eğer seçilense, bu yönlendirilmiş bölümün mesaj ve konu sayılarını saklayacaktır.
Default temada, "X mesaj Y konu" sütunu saklanır. Babylon temada, "X mesaj in Y konu" sütunu saklanır, ve Classic temada, "mesaj" and "konu" sütunu saklanır. Eğer bu seçilmemişse "--" onun yerine gösterilir.';
Modifications.turkish.php
$txt['redirected_click'] = '<b>1</b> yönlendirilmiş tıklama';
$txt['redirected_clicks'] = ' yönlendirilmiş tıklamalar';
$txt['redirect_count_clicks'] = 'Tüm tıklamaları say?';
$txt['redirect_count_clicks_desc'] = 'Bu, kaç kere üyelerin yönlendirildiğini sayacak.';
$txt['redirect_enable'] = 'Bu bölümü yönlendir.';
$txt['redirect_enable_desc'] = 'Bu, bölüme giriş yapan üyeleri, sizin seçtiğiniz bir linke yönlendirecek.';
$txt['redirect_location'] = 'Üyenin yönlendirileceği URL ';
$txt['redirect_hide_columns'] = 'Yönlendirilmiş bölümler için "mesaj" ve "konu" ları gizle.';
$txt['redirect_no_child'] = 'Yönlendirilmiş bölümler alt bölümlere sahip olamaz!';
$txt['redirect_no_url'] = 'Yönlendirilmiş bölümler bir URLye sahip olmalıdır!';
$txt['redirect_reset_clicks'] = 'Tıklama sayacını sıfırla';
$txt['redirect_reset_clicks_desc'] = 'Tıklama sayacını sıfıra(0) sıfırlayacak.';
$txt['redirect_target'] = 'URL için hedef';
$txt['redirect_target_desc'] = 'Yeni linke yönlendirmek için hedef (_blank)';
Hi i use the Dark Fantasy theme and i have read the manuall file but i dont get what he really means :/
Could someone make a easyer explination for me ? :)
Thanks
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
http://www.simplemachines.org/community/index.php?topic=165657.msg1057649#msg1057649
On my forum it only says 0 posts 0 topics :/
Ye si have another theme but as i said before i dont know what to edit,can anybody please help me ?
How do I uninstall this package. It is Redirection Boards 2.01 , in my package manager there is no option to uninstall it. I am running SMF 1.1.7. I need help, ever since I upgraded to 1.1.7 it has been throwing 6 errors everytime some one comes to the site. I no longer need it. I just need help deleting it.
Here is the errors it keep making.....
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: is_redirect
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 239
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: redirect_target
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 235
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: redirect_url
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 234
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: redirect_count_clicks
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 233
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: redirect_count_clicks
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 232
TroyG Today at 12:58:41 pm
72.34.188.13 48cb1e9a91e3d24acb9fa4f077a509ce
http://www.volkstalk.com/forum/index.php?board=35.0
8: Undefined index: is_redirect
File: /usr/home/volkstalk/public_html/forum/Sources/MessageIndex.php
Line: 231
I have some fun to deal with myself...
No redirection information exists when creating a new board.
So, I am attempting to uninstall and all the files are failing.
I really do need this mod to work.
Still need help using dark fantasy could anyone help me when they got time ? :P
super baaad add-on. Thanks a zilliooonnnn!!! I was searching for this sh$t for a loooong time ... brilliant work !!!
all the tests were successful except the
sources/load.php
so i installed the mod replaced the load.php with the original n manually modded it the mod shows the board as a re directional board but when clicked it goes into the board and doesn't redirect it to the url
anyone else had this problem and know how to solve it
anyone still supporting this mod?
I took my chances and installed it and it failed on the following:-
/default/MessageIndex.template.php
/default/BoardIndex.template.php
./Sources/BoardIndex.php
./Sources/ManageBoards.php
./Sources/Load.php
So I did the manual edits but it came up with this parse error..
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/buctai8/public_html/Sources/BoardIndex.php on line 203
Would really appreciate it if someone could please tell me why and how to fix it.... the original file had the ) on line 203 but since making the edits it has moved it down a few lines.. Have attached my file!
Thanks :)
Is there any way to change the "folders" to custom ones just for the links as in the attached screenshot?
I have this working on SMF 1.1.8 all except for one flaw..
It doesn't list the number of redirects for child boards, even if I tell it to.
Everything else works perfectly fine.
You can add a function to define which groups it will do Redirection and only those groups that will be active?
Typo found
Hide "posts" and "topics" for redirection boards check box don't work in boards settings.
When you check the box and save, it's the checkbox : Enable recycling of deleted topics for redirection boards who remain checked :o
(no sure you undestand my English but try yourself)
Solution:
modification_1-1_part1.xml
Search at the end:
<input type="checkbox" name="recycle_enable"
Replace by:
<input type="checkbox" name="redirect_hide_columns"
This mod work fine with SMF 1.1.9
is this work fine under 1.1.9?
I did a little test Under 1.1.9 and no problems
Than you ;D
Quote from: AlreeGator on April 13, 2009, 01:11:55 PM
Is there any way to change the "folders" to custom ones just for the links as in the attached screenshot?
I'm bumping this question, because I need to find this out as well.
I'm not seeing most of the lines of codes to edit in my costum theme ...
Look for the comments or parts of what it says. Custom themes usually don't have the same layout
is it ok with 1.1.10?
i have:
8: Undefined index: redirected_clicks
Fichier: /Themes/default/BoardIndex.template.php (main sub template - eval?)
Ligne: 198
Hello GravuTrad,
It work for me with 1.1.10
it is working with 1.1.10...however, redirected hits are not counted... :(
Quote from: GravuTrad on July 15, 2009, 12:20:43 AM
is it ok with 1.1.10?
i have:
8: Undefined index: redirected_clicks
Fichier: /Themes/default/BoardIndex.template.php (main sub template - eval?)
Ligne: 198
and still this same error...
Quote from: Roger Rabbit on July 26, 2009, 01:51:28 AM
it is working with 1.1.10...however, redirected hits are not counted... :(
well...my bad...it is working perfectly with 1.1.10...i just forgot to check the count redirect clicks... :)
Hi,
I am trying to download this mod. The /Themes/default/BoardIndex.template.php and /Sources/Load.php came up as Test Failed, so I went to edit the files manually. The Load.php should be okay as I can find all the edits.
However the BoardIndex.template.php is diffierent. I think there is another mod already made an edit in that file so I don't know where to make the changes.
Can someone help. If you can, let me know what info you need from me.
Thanks.
I assume this mod isn't being supported anymore? :(
http://custom.simplemachines.org/mods/index.php?mod=38
i got set up and dis work but
has anyone got sceen print so i can see wot go where as there no text wiv the mod
i had to guss where url go i just wot know wot 2 boxs r for
i noted the mod dis show it text to tell me wot box do
It only includes regular English strings by default. If you're using English-UTF8 or a language other than English, you will need to copy the language strings from Modifications.english.php to the Modifications language file for the language you're using.
Edit: Merged topic with support topic for this mod.
ok i dont get wot i need to do
Quote from: Oldiesmann on February 27, 2010, 12:27:58 PM
It only includes regular English strings by default. If you're using English-UTF8 or a language other than English, you will need to copy the language strings from Modifications.english.php to the Modifications language file for the language you're using.
Edit: Merged topic with support topic for this mod.
thank you for anyone who didnt get it
i make it easy here
If you're using English-UTF8 or a language other than English
go to where u find the mod where u download it
then Installation Instructions for wot ever u got
then ./Themes/default/languages/Modifications.english.php copy the code
ok now go to ur host then /Themes/default/languages/Modifications.english.php
paste the code
save it ever think now cud be fine plz back up any find and start and end
been trying to look for an april fools' joke this year (i tried nars' last year mod)
and this one caught my attention. however, i;m not sure if this mod is still working.
i was thinking of setting up a new board, and then redirect them on a page that would say they're ban for trying to access a private board :P
Why when i open the first page of this post it's asking me to log into some other site ???
Because someone has a signature or other image that requires a login now but didn't originally.
Quote from: Arantor on March 31, 2010, 12:12:41 PM
Because someone has a signature or other image that requires a login now but didn't originally.
OK, somebody need to edit and remove that mess
I'm using this mod with version 1.1.11 and it works alright except that for some reason it doesn't let me hide 'topics and posts'. I can check the box, but it'll return to unchecked when I save and nothing changes.
Any ideas, or will I just have to deal with it?
EDIT// Never mind, never mind. I looked at the manual instructions and realized that my theme was casuing the problem. I changed some of the code of "BoardIndex.template.php" and voilà!
please upgrade for smf1.1.11
I need help ...
I've been changing the code BoardIndex.template.php and managed to put "--" for messages, but can not put "--" in the topics. Someone help me?
Print:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi32.tinypic.com%2F2kesgp.jpg&hash=bbc1515cd82ad347149b3c52f7014774bcceec14)
SMF 1.1.11
BoardIndex.template.php is annexed.
Thanks!
If only someone would upgrade this great modification for SMF 1.1.11. :(
Quote from: [T]uGa [M]aSter on July 08, 2010, 03:38:14 PM
I need help ...
I've been changing the code BoardIndex.template.php and managed to put "--" for messages, but can not put "--" in the topics. Someone help me?
Print:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi32.tinypic.com%2F2kesgp.jpg&hash=bbc1515cd82ad347149b3c52f7014774bcceec14)
SMF 1.1.11
BoardIndex.template.php is annexed.
Thanks!
Anyone?
I installed the package in the first post of the thread and no errors but when i try it out, Firefox gives an error that the server is trying redirect to a page in a way that will never complete.
Quote from: [T]uGa [M]aSter on July 08, 2010, 03:38:14 PM
I need help ...
I've been changing the code BoardIndex.template.php and managed to put "--" for messages, but can not put "--" in the topics. Someone help me?
Print:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi32.tinypic.com%2F2kesgp.jpg&hash=bbc1515cd82ad347149b3c52f7014774bcceec14)
SMF 1.1.11
BoardIndex.template.php is annexed.
Thanks!
Hello!
A version for SMF 2.0 RC3 is planned?
Quote from: Bruno36 on September 26, 2010, 03:26:18 AM
Hello!
A version for SMF 2.0 RC3 is planned?
why, when it's built into 2.0 series anyway?
If the forum contains messages that is not possible
QuoteRedirect a web address
Note: the section should be empty of topics to enable this option.
then u create a new board in place of the old one and hide or delete the old one
Hello Oldiesmann, Nice Mod ... 8)
Trying to install this on 1.1.12 .... Not seeing some of the lines of codes in my files...
Can you take a look at my files... and maybe add your code ..
Thank in Advance
Hello
I have loaded this into packages and i cant find it in my admin panel.
I've successfully installed the Redirection Boards mod through "Packages" in the Admin Control Panel. After reading some of the past posts, I pose some questions upon the community to help answer. I'm using SMF 1.1.13 with the theme Circir 1.1.5.
After installation, through the "Features and Options" page.. there were no updates to the options available. (According to one post, it is suppose to be near "Override members theme.") Due to the use of an alternate theme, it happens that I am required to manually edit the index.template.php file. While the language file "should" have been edited along with the installation of the mod.
So.. I go into the theme folder and look through the files and fine one named "BoardIndex.template.php" and decide to go through there. I seemed as though I couldn't find any of the lines I was suppose to find. (One post assumes to download the SMF default theme and extract the ModifyBoard.php(?), but what would the steps before that and could I also get a link.)
Continuing on, as I was in the "BoardIndex.template.php" file, I decided to add in the missing lines and tried saving. I gave me an unexpected error, even though it was copy and pasted directly from the primary source.
So, basically.. I kind of want a step-by-step approach on how I could be going about this.. while running SMF 1.1.13 with the theme Circir 1.1.5. Thank you very much.
Can anyone give support for this mod, please and thank you.
I just downloaded this mod, and install it in my forum 1.1.11 version, and works perfectly well.
My question, if I may - is there a way to cloak the url of the forwarded URL?
TIA
Hi.
Works with 1.1.15 update but i have this in the error log:
8: Undefined index: redirected_clicks
Fichier: /Themes/default/BoardIndex.template.php (main sub template - eval?)
Ligne: 198
Any idea of the problem?
Nobody interested to update the mod to 1.1.15 version?