Welcome, Guest. Please Login or Register.
May 10, 2025, 06:30:03 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Sp1.1 to SE mod conversion request « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Sp1.1 to SE mod conversion request  (Read 670 times)
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Sp1.1 to SE mod conversion request
« on: March 20, 2003, 05:45:20 PM »
Reply with quote

I realise that this post may get moved but this is a last resort as there a lot of very good mod makers in this forum and i am desparate.

1. Am I allowed to ask someone to convert a SP1.1 mod into a SE version?. I am willing to pay to have it done as I really need it.

The mod is not a big mod (but i am too stupid to do it myself). I have asked the original owner of the SP1.1 mod, but they do-not know about PHP.

Please IM me if you would like more info.
Thank you.
P.S. I hope I am not breaking any rules by posting this (gulp!)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Sp1.1 to SE mod conversion request
« Reply #1 on: March 20, 2003, 05:47:11 PM »
Reply with quote

It is fine to ask for a mod to be converted.  Mind posting a link to the mod you want converted?
Logged

GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #2 on: March 20, 2003, 06:01:48 PM »
Reply with quote

I cannot post a link as the file is just a download from the boardmod site.

Warning, clicking on this link will invoke the download to start. sorry but this is the only way I can show you the link.
its HERE
The actual download consists of:
a readme file
a *.pl file
a *.mod file
a *.txt file
thats it.
Thank you
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Sp1.1 to SE mod conversion request
« Reply #3 on: March 20, 2003, 09:46:34 PM »
Reply with quote

info:
Boardlinks - SP1 - by Ironwing and Hiryuu
http://www.boardmod.org/mods.php?searchfor=boardlinks

Description: Adds board-specific html links to the message index and thread views of boards. Admin may select to place links table above or below message index and thread view. Make selection in the Forum Preferences and Settings section of the Admin Center.

i'm guessing it's for adding something like a banner for specific boards?
« Last Edit: March 20, 2003, 09:47:55 PM by Spaceman-Spiff » Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #4 on: March 20, 2003, 10:08:13 PM »
Reply with quote

Yes, that is it.
I use it to post very very long word docs relevant to the posts in specific cats.
Without it, everyone has to look through some very long threads for the link to the docs.
I don't really know the accepted way to get this mod changed to SE. but would certainly follow the approved procedure.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Sp1.1 to SE mod conversion request
« Reply #5 on: March 20, 2003, 11:18:22 PM »
Reply with quote

a small & easy trick that u can do is to add $currentboard in the global statement in Subs.php template_header()
then somewhere in your forum template, add something like:
if ($currentboard == 1)
{
   echo "<div>Text goes here</div>";
}
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #6 on: March 21, 2003, 07:41:44 AM »
Reply with quote

What would that do spaceman?, would it be able to show multiple docs at the same time?


I am trying to add a link type menu bar, across the top of certain cats, that link to word docs saved on my server. This would need to be updated and chnaged every now and again.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #7 on: March 22, 2003, 10:08:58 AM »
Reply with quote

Space man..
I put the stuff you mentioned above in my forum (after a few misses) I add
<?if ($currentboard == 1)
{
   echo "<div>Text goes here</div>";
}
?>
I had to add <??> otherwise it would only show as text.
The board works fine, but I cannot see "Text goes here" anywhere?

Where would this line of text show up?
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Sp1.1 to SE mod conversion request
« Reply #8 on: March 22, 2003, 10:43:42 AM »
Reply with quote

u need to add $currentboard in the global statement in Subs.php template_header()

another way u can do is make a new function in Subs.php like:
function yydocs() {
   global $currentboard;
   
   if ($currentboard == 1)
   {
      echo 'blablablbla';
   }
   else if ($currentboard == 2)
   {
      echo 'blablablblablablabla2';
   }
}
then put <yabb docs> tag somewhere in your template

if u do the 1st way, u'll be able to edit the html through edit forum template, the 2nd way u'll need to update Subs.php then reupload it ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #9 on: March 22, 2003, 11:59:36 AM »
Reply with quote

Quoteu need to add $currentboard in the global statement in Subs.php template_header()
I did this:
global $mnum, $munred, $currentboard, $ID_MEMBER;

I will now try your next version and see if that does the trick. I dont quite understand the ref to current board 1 etc, what is that related to?
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Sp1.1 to SE mod conversion request
« Reply #10 on: March 22, 2003, 12:08:08 PM »
Reply with quote

oh, it will show stuff depends on the board that u're in
like this topic is in: /index.php?board=141; (board 141)

u wanted to show something in different boards, right?
just try to change the '1' with some other board number that exists in your forum ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #11 on: March 22, 2003, 12:32:30 PM »
Reply with quote

Getting there now spaceman :)
I couldn't ask you one more thing please....

I tried to insert some html into the blahblahblah bit, but it came up with errors.
how can I change blah to link to a page called  "sample.html" in the same dir as yabbse.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #12 on: March 22, 2003, 12:39:41 PM »
Reply with quote

I tried to enter this code in the echo'--' bit
Quote<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="' . $color['bordercolor'] . '" class="bordercolor"><tr><td>
         <table width="100%" cellpadding="3" cellspacing="1" border="0" bgcolor="' . $color['bordercolor'] . '" class="bordercolor">
            <tr>
               <td align="left" class="catbg" bgcolor="' . $color['catbg'] . '" width="100%"  height="35">
                  <table cellpadding="3" cellspacing="0" width="100%">
                     <tr>
                        <td>
                           <font size="2"><b>' . $txt[139] . ':</b> ' . $pageindex . '</font>' . $botlink . '
                        </td>
                        <td align="right"><font size="-1">' . implode($menusep, $topicButtons) . '</font></td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      </td></tr></table>

But it told me something about "cannot redeclare yydocs"

So I am stuck
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Sp1.1 to SE mod conversion request
« Reply #13 on: March 22, 2003, 10:35:35 PM »
Reply with quote

if u want to make me an admin in your forum for a few minutes, i can give u an example for the 1st way above
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Sp1.1 to SE mod conversion request
« Reply #14 on: March 23, 2003, 08:51:35 AM »
Reply with quote

Thanks for your help on this one Spaceman.

I realised that the html above i was trying to put in was too much, so i took out everything i didn't need and it works fine.
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Sp1.1 to SE mod conversion request « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 20 queries.