Welcome, Guest. Please Login or Register.
November 22, 2024, 08:30:52 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  |  Completed mods  |  [Done 1.5.1 > 1.5.4] Add More Smilies 2.1 « previous next »
Pages: 1 ... 52 53 [54] 55 56 ... 62 Reply Ignore Print
Author Topic: [Done 1.5.1 > 1.5.4] Add More Smilies 2.1  (Read 880662 times)
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #795 on: May 23, 2003, 11:59:55 AM »
Reply with quote

Are you sure yo uploaded subs.php? Make sure everything has been uploaded and edited.
Logged

PHPNews has been released!!! Download it now!!!
truecrimson
Noobie
*
Posts: 18


The Llama has been assimilated.

WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #796 on: May 26, 2003, 10:12:26 PM »
Reply with quote

I had the same problem(Showing code instead of smilies).  It seems to occur when code begins like any of the "standard" smilies. ex: :)xxx   8)xxxx    ;Dxxxx where xxx is the code that is non standard.  I fixed it by adding a number to the beginning of each new smiley code, which also helps with organisation. but any non standard beginning to the smiley code should work.

After trying several mods, I was ready to give up, but then I was able to succesfully install yours.  Thanks for a great mod, and restoring my confidence.
« Last Edit: May 26, 2003, 10:15:57 PM by truecrimson » Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #797 on: May 27, 2003, 10:38:55 AM »
Reply with quote

Yeah the regular smilies are parsed seperate to the added smilies so they take precedence and get parsed first.

Still, glad its working for you.
Logged

PHPNews has been released!!! Download it now!!!
Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(

Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #798 on: May 31, 2003, 01:01:06 PM »
Reply with quote

^ I use this with 1.5.3. I can't remember if I had to edit anything but if I did it wasn't difficult IIRC

Anyway. I just had a few kinda requests :D I've only just registered here so please be kind (although I've been lurking for a while)

Anyway... on my board the first thing I did was remove all the code for the default smilies. I personally think it's better just to remove the default smilies and re-add the ones that you actually want to use. That way I can reorder any of them whenever I want!

Anyway - a question. How hard would it be to implement a feature where you could choose whether a smiley was visible or not? I would like to add an extra column to the "add smiley" page where you could select whether a smiley would be visible on the smiley bar (when you post etc). The reason for this is that I would like to add quite a few smiley short cuts for BIG pictures that get posted a lot. They would be too big too show on the page when you are posting your reply but regulars would remember the codes for them that I add. I know you can use the directory method but you can't choose your own smiley code then.

Do you think this would be something fairly easy to add? I assume it could be added by editing modsettings.php and adding an extra field to the database... and then checking if an IsVisible flag is set when it comes to printing out the image tags for each smiley on the post reply page. Would this be the correct way to go about adding this stuff? If so I may have a go  8)
Logged
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #799 on: June 01, 2003, 10:16:51 PM »
Reply with quote

Everything works perfect.  I've just ran into one problem.  When I click on the "View All Smilies" link it opens a window and says:

QuoteAn Error Has Occurred!

2: fopen(template.php) [function.fopen]: failed to create stream: No such file or directory
(/usr/home/web/users/a0012660/html/forums/Sources/Smilies.php ln 173)

When I check the link it's going to it has

$OpenFile = fopen("$GrabURL", "r"); //- DO NOT CHANGE

Which is the line in Smilies.php at 173.  How do I correct it to pull the appropriate info?
Logged

Aalen27
Noobie
*
Posts: 15


No personal text, please !

Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #800 on: June 02, 2003, 02:48:51 PM »
Reply with quote

I've been reading every single reply of this thread but still couldn't find a helpful answer to my problem :
when I click on "View all smilies", a new window opens - but it displays the board's main page, not the additional smilies.
Also, the "add more smilies" link isn't displayed in my admin section.
Can anyone please try to help me out ?
I have YaBB SE 1.5.3 with Smilies2.0 installed.
Thank you very much in advance !!
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #801 on: June 02, 2003, 08:26:12 PM »
Reply with quote

If you're viewing your main page, then you forgot to do the part of the mod that modifies index.php.


<edit file>
index.php
</edit file>

<search for>
      'sticky' => array("$sourcedir/Subs.php", 'Sticky'),
</search for>

<add after>
      'smilies' => array("$sourcedir/Smilies.php", 'Smilies'),
      'smileyput' => array("$sourcedir/Smilies.php", 'SmileyPut'),
      'smileyadd' => array("$sourcedir/Smilies.php", 'SmileyAdd'),
      'smileymod' => array("$sourcedir/Smilies.php", 'SmileyMod'),
</add after>


That's my guess as to what's wrong. If you've already done that step, then I dunno.

Same thing with the Add More Smileys link not showing on the Admin page. If it's not showing up, then it's not added. ;) It's as easy as that.


<edit file>
Sources/Admin.php
</edit file>

<search for>
   global $yytitle, $YaBBversion, $txt, $img, $scripturl, $color, $imagesdir, $settings, $username;
   global $realName, $sourcedir, $recentsender, $db_prefix, $modSettings;
</search for>

<add after>
   global $asmtxt;
</add after>

<search for>
                     <a href="' . $scripturl . '?action=modtemp">' . $txt[216] . '</a><br />
</search for>

<add before>
                     <a href="' . $scripturl . '?action=smilies">' . $asmtxt['01'] . '</a><br />
</add before>



EliteRides:

The only thing that I can think of that would cause that problem, is it's not finding the file it needs to open. I didn't have to modify the code in the mod at all to get it to work, so if you think you need to, there's something wrong. Make sure you've got all the files uploaded to their right places, and the dbmod applied. If that doesn't wind up fixing it, then maybe there's another mod that's intefering with it :-\
« Last Edit: June 02, 2003, 08:29:47 PM by 1979Z28 » Logged
Aalen27
Noobie
*
Posts: 15


No personal text, please !

Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #802 on: June 02, 2003, 11:11:17 PM »
Reply with quote

Thank you 1979Z28, it is working now, don't know why it wasn't working some hours ago... maybe browser didn't auto-refresh, must have been something stupid.
Thanks !
Logged
Bell1x1
Noobie
*
Posts: 41


I love my Rep

WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #803 on: June 03, 2003, 03:51:26 AM »
Reply with quote

I just upgraded from 1.5.1 RC45 to 1.5.3 and then installed Add More Smileys without a hitch.

Great work!

Logged
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #804 on: June 03, 2003, 04:05:37 AM »
Reply with quote

Quote from: 1979Z28 on June 02, 2003, 08:26:12 PMEliteRides:

The only thing that I can think of that would cause that problem, is it's not finding the file it needs to open. I didn't have to modify the code in the mod at all to get it to work, so if you think you need to, there's something wrong. Make sure you've got all the files uploaded to their right places, and the dbmod applied. If that doesn't wind up fixing it, then maybe there's another mod that's intefering with it

Double checked install, all files are uploaded, dbmod is applied.  I don't really have that many mods applied.  Out of the ones I do there are:
    Collapsable YaBB
    Enhanced Ban
    Search Members
    Signature Image Control
    Allowed Users
    View All
    Undelete
    Quick Reply
When it says:

QuoteAn Error Has Occurred!

2: fopen(template.php) [function.fopen]: failed to create stream: No such file or directory
(/usr/home/web/users/a0012660/html/forums/Sources/Smilies.php ln 173)

What is it trying to grab that isn't there?  I lied earlier.  The link is trying to execute the javascript for the smiley window.  I'm assuming that smiley window is what is not opening...  :-\

Suggestions?

Help  :-\
« Last Edit: June 03, 2003, 04:27:47 AM by EliteRides » Logged

1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #805 on: June 03, 2003, 04:11:59 AM »
Reply with quote

Looks to me like it's having problems trying to find template.php, hence the 'no such file or directory' part of that error message. :-\ Hrmz..
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #806 on: June 03, 2003, 04:19:18 AM »
Reply with quote

Did you manually apply this, editing the files by hand, or let boardmod do it? If you manually applied, I don't know how, but I think you made some mistake somewhere. :-\ I'm not sure how that's possible though, as it's pretty easy to do. *scratch* Hrmz.
Logged
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #807 on: June 03, 2003, 04:31:57 AM »
Reply with quote

Manually.  Like you said it's pretty hard to mess up.  I guess I could have... but I've already went back and double checked the install  :-\

Where does the mod file call the link to the smilie window based off the url?  I'm a php/mysql newbie.  Any guesses on what part that edits, I'm assuming the Post.php file, that calls that?  That way I can check there.
« Last Edit: June 03, 2003, 04:34:09 AM by EliteRides » Logged

1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #808 on: June 03, 2003, 04:51:25 AM »
Reply with quote

Fneh, I'm not sure. :-\ If you want, and if you trusted me enough, I could try to install it for you. I've gotten it to work flawlessly on my board, so there's got to be some simple really small typo that was made somewhere. In my opinion, the smiley window isn't working properly, because it can't find the Smilies.php file to base it off of, and I'm not sure why. :-\ PM me with the info if you want to try that, otherwise, uh, best wait for the original mod writer to read this thread and try his luck ;D
Logged
ViperGeckoFreak
Noobie
*
Posts: 1


ICQ - 306116893outdoor_extremes_@hotmail.com WWW
Re:[Done 1.5.1 & 1.5.2] Add More Smilies 2.0
« Reply #809 on: June 03, 2003, 09:03:09 PM »
Reply with quote

ok..this question might have been asked before, but i dont have time to read 54 pages...

i am kinda a noob to the boardmod thing. i DL'd the files and followed the instructions.. the mysql tables were created successfully, but as soon as i try to install the smilies2.mod in boardmod i get all these errors:

Step 1 ... ok
Step 2 ... failed - ERR(1): Search string could not be found
Step 3 ... failed - ERR(1): Search string could not be found
Step 4 ... failed - ERR(1): Search string could not be found
Step 5 ... ok
Step 6 ... ok
Step 7 ... failed - ERR(1): Search string could not be found
Step 8 ... failed - ERR(1): Search string could not be found
Step 9 ... ok
Step 10 ... ok
Step 11 ... failed - ERR(1): Search string could not be found
Step 12 ... ok
Step 13 ... failed - ERR(1): Search string could not be found
Step 14 ... failed - ERR(1): Search string could not be found
Step 15 ... failed - ERR(1): Search string could not be found
Step 16 ... ok


i dl'd my whole forum on to my HD like it said to in the boardmod FAQ but it still wont work.. i am using yabb se 1.5.3  ???

any help would be appreciated.  :)
Logged
Pages: 1 ... 52 53 [54] 55 56 ... 62 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1 > 1.5.4] Add More Smilies 2.1 « 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.016 seconds with 20 queries.