• Board index ‹ Special Interest Forum ‹ phpBB3 Mods
  • Change font size
  • FAQ • Search • Register • Login

It is currently Sat Feb 04, 2012 1:47 am

Simple phpBB3 Smiley Pagination Mod V1

Place to discuss phpbb3 modifications. Help, tips, ideas, suggestions...with no guarantees!!!!
Post a reply
67 posts • Page 2 of 3 • 1, 2, 3

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Wed Sep 24, 2008 12:34 pm

In the posting_body.html file

Look for <!-- IF S_SHOW_SMILEY_LINK --> and delete it.

A few lines under that you should see a <!-- ENDIF --> , remove that as well.

Clear cache, and the view more smilies link should appear. No idea why it is not showing as default, it should.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Sky on Wed Sep 24, 2008 1:41 pm

prosilver/template/posting_body.html only contains the following code:
Code: Select all
<!-- IF S_PRIVMSGS -->
   <!-- INCLUDE posting_pm_layout.html -->
<!-- ELSE -->
   <!-- INCLUDE posting_layout.html -->
<!-- ENDIF -->


Thanks ever so much for going to so much trouble.
User avatar
Sky
 
Posts: 10
Joined: Tue Sep 23, 2008 1:38 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Thu Sep 25, 2008 8:53 am

Sorry, I had other things I had to deal with.

OK


look in styles/prosilver/template/posting_editor.html

Code: Select all
<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED-->
         <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
      <!-- ENDIF -->


Remove the <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> and the <!-- ENDIF --> . There should be an easier way to enable the smiley link (But a quick look around in the acp did not reveal itself to me (I will look again) but this will enable it for your purposes.

And ofc clear cache.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Sky on Thu Sep 25, 2008 10:52 am

I have the 'view more smilies' link now, but when I click on it it opens up another copy of the entire posting page (with page one of the smilies) in a new window.
User avatar
Sky
 
Posts: 10
Joined: Tue Sep 23, 2008 1:38 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Thu Sep 25, 2008 11:41 am

Could you send me the entire page?

vladd44@vladd44.com
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby himtuna on Thu Oct 02, 2008 10:28 am

the same situation is with me!
I manged to get the view more smilies link and even getting the posting.php?mode=smilies&start=0

But when I click on" view more smilies" the popup window opens the posting page and not the smilies.
site at: http://www.gamersden.in
himtuna
 
Posts: 3
Joined: Thu Oct 02, 2008 10:26 am
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby phpbb3-mod on Tue Oct 07, 2008 10:28 pm

Hello!!

We had installed phpBB3 "Advanced Quick Reply" mod.

But after we installed "Simple Smiley Pagination phpBB3 MOD (1.0.5),
there is problem happened.

When we click into the page number, the Emoticons will be reduced.
We had captured several screen pictures for reference in the rar file.

http://rapidshare.com/files/151929705/mod.rar.html

We had checked the program and find out that when we use the syntax below,
there will be problem for the Emoticons.

This is the program.

Code: Select all

#-----[ OPEN ]---------------------------------------------------
#
includes/functions_posting.php

#
#-----[ FIND ]---------------------------------------------------
#
   $sql = 'SELECT *
      FROM ' . SMILIES_TABLE .
      (($mode == 'inline') ? ' WHERE display_on_posting = 1 ' : '') . '
      ORDER BY smiley_order';

#
#-----[ REPLACE WITH ]-------------------------------------------
#
   // For pagination.
   $smiley_limit = 100;
   if (isset($_GET['start'])) {
   $start =  intval($_GET['start']);
   } else {
   $start =0;
   }
   $sql = 'SELECT *
      FROM ' . SMILIES_TABLE .
      (($mode == 'inline') ? ' WHERE display_on_posting = 1 ' : '') . '
      ORDER BY smiley_order ASC LIMIT '.$start.', '.$smiley_limit.'';     
   // end pagination
   


We feel it is the main problem.
ORDER BY smiley_order ASC LIMIT '.$start.', '.$smiley_limit.'';

Could you please check for us and tell us how to fix it?
Thank you.
phpbb3-mod
 
Posts: 2
Joined: Tue Oct 07, 2008 10:25 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Thu Oct 09, 2008 1:41 pm

I have been gone since saturday, hopefully I can take a look at this tomorrow.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby phpbb3-mod on Thu Oct 16, 2008 8:40 pm

Vladd44 wrote:I have been gone since saturday, hopefully I can take a look at this tomorrow.


Hello!!
Could you please fix the problem we encountered before?
Thank you in advanced.
phpbb3-mod
 
Posts: 2
Joined: Tue Oct 07, 2008 10:25 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Tue Oct 21, 2008 7:42 am

Sorry,

The last few weeks have been chaotic to say the least. Unexpected events and distance can be a killer.

I need to rest up a couple days and will try to sit down and sort out this issue.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Sky on Tue Oct 21, 2008 8:18 am

Don't worry - looking forward to having an answer, but take care of yourself first. :sleeping
User avatar
Sky
 
Posts: 10
Joined: Tue Sep 23, 2008 1:38 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby himtuna on Fri Oct 24, 2008 6:55 am

Everything works fine on my sitefor now.
I think it was a cache problem....
I did refresh a lot of times but nothing happened, but after a while I opened the site, everything was working.
Thanks for the mod.
Anybody facing the problems, please check in advance with your cache , there is no bug in the mod.
himtuna
 
Posts: 3
Joined: Thu Oct 02, 2008 10:26 am
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Sky on Fri Oct 24, 2008 7:19 am

My site is still in development, and the caches have probably been cleared a hundred times for various reasons since installing this mod - manually as well as from the ACP, not to mention clearing the cache on my computer too.

I'm glad your problem is solved, but mine isn't caused by caching.
User avatar
Sky
 
Posts: 10
Joined: Tue Sep 23, 2008 1:38 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Fri Dec 05, 2008 12:54 pm

I have the same problem as Sky. I finally deleted the mod. I love this idea but I just can't get it working.
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Sun Dec 07, 2008 12:58 pm

I have reinstalled the mod on my testing forum. BTW, we use phpBB ver. 3.0.3.
Edit: We use Blue Moon (based on Subsilver) and prosilver mainly.

I have it set to show 30 smilies. I see 25 on the first page but can live with this if the other pages get to working :D

I can see the "View More Smilies" link." I click on it and get a view of the page I am on (posting area).

I did not try the additional directions about changing the link to the page as I wasn't sure about the directions.

I have given you access to my testing forum, Vladd, if you want to take a peek.
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Wed Dec 10, 2008 6:42 pm

Installed on the main forum and it is working fine. I didn't even have to edit the posting_editor file. Now to start looking through my smilies off line and see what I want to add. This is the fun part!

Thank you, Vladd. Great MOD here.
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Wed Dec 10, 2008 11:32 pm

Glad to have helped.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Mon Dec 15, 2008 7:02 pm

Helped? You were the answer to a prayer!
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Mon Dec 15, 2008 7:05 pm

Helped? You were the answer to a prayer!

Now! Where can I get the smilie packs that have the beating the dead horse and the sleeping snorer in the bed smilies? Or is that pushing my welcome?
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Tue Dec 16, 2008 6:08 pm

Answer to a prayer? Now that is just condescending to an agnostic :P:P:P :lol:

There is no smiley pack, but if you just download any you want, you can add them individually. Browse away!
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby ladybug on Tue Dec 16, 2008 8:02 pm

Great! Didn't know that was kosher, LOL

PS...about the prayer....what would you expect from someone named Mary?
ladybug
 
Posts: 13
Joined: Wed Aug 27, 2008 11:50 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby maxxphlipper on Sun Dec 28, 2008 10:26 pm

Hi Ladybug,
When you put the mod on your main forum is it still version 3.0.3 or is it 3.0.2, I am having the same problem with the link opening another copy of the posting page and not the smilies page. I am using version 3.0.4, I have tryed different browsers, different computers. Changed between prosilver and subsilver2 styles and deleted my cache though the ACP and manually. If I manually input the link for the extra smilies as described earlier in the topic that works fine.

So I was just wondering what other changes or updates you had made to get the mod to work correctly.

The only thing that I notice is when I go to the link on Vlads forum the link to the extra icons is this:
posting.php?mode=smilies&f=16
and on my test forum it is this:
http://www.scholzfamily.com/forum1/post ... &f=10&t=13

There seems to be some extra coding at the end, not sure if it means anything, maybe someone can shed some light on the problem.

Phil
maxxphlipper
 
Posts: 3
Joined: Sun Dec 28, 2008 8:46 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Mon Dec 29, 2008 8:40 am

Did it work in prosilver?

If so replace subsilver's /styles/subsilver2/template/posting_smilies.html
with
/styles/prosilver/template/posting_smilies.html

and let me know if it worked.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby maxxphlipper on Tue Dec 30, 2008 12:33 am

No Vlad it did not work in prosilver either when I view the source for my page in firefox I get below:
<br /><a href="" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">View more smilies</a>

on your page I get this:
<br /><a href="./posting.php?mode=smilies&amp;f=16" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">View more smilies</a>

the href is not being passed through or picked up somehow and it picks up the default href for the page and reopens the posting page, in IE7 it is worse and reopens the main board page. I even went into the zip file on the first page of posts and noticed that it is version 1.0.5 and the link is for version 1.0.4. I tried the newer version but I still have the same issue. I have also loaded version 3.0.2 of PHP but that didn't fix it either.

If I hard code in ./posting.php?mode=smilies&amp;f=16 into posting_editor.html in prosilver and posting_body.html in subsilver2 in place of {U_MORE_SMILIES} in the HREF for the smilies then it will work so this is at least a work around for now.

Maybe you could email me a copy of the functions_posting.php, posting_editor.html and posting_smilies.html and I will do a comparison and try and work out what is different to my files.

Sorry for the hassle Vlad

Phil
maxxphlipper
 
Posts: 3
Joined: Sun Dec 28, 2008 8:46 pm
Top

Re: Simple phpBB3 Smiley Pagination Mod V1

Postby Vladd44 on Tue Dec 30, 2008 7:04 am

No Worries,

I will send them in a few hours when I get home.
Jewish Kid: Is anyone else having problems concentrating on this? I just can't seem to concentrate.
Cartman: Maybe we should send you to a concentration camp.
User avatar
Vladd44
Site Admin
 
Posts: 4577
Joined: Wed Dec 31, 1969 7:00 pm
Location: New Orleans Crypt 69
  • Website
Top

PreviousNext

Post a reply
67 posts • Page 2 of 3 • 1, 2, 3


Return to phpBB3 Mods

Who is online

Users browsing this forum: No registered users and 0 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC - 6 hours [ DST ]
  • SitemapIndex SitemapIndex
  • RSS Feed RSS Feed
  • Channel list Channel list
© 2000, 2002, 2005, 2007 phpBB Group •
phpBB SEO
created by stylerbb.net & nero