MyBB Source

everyBB - The forum owners community

4,000 Members! | Small Policy Change

Latest Releases: Valid Referrals - Bonus - Mark Thread Read

 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Short portal annnouncement
Author Message
Azagthoth
Junior Member


Posts: 20
Joined: May 2009
Reputation: 0
MyBux: 11
Post: #1
Short portal annnouncement
hi!

i want to request a plugin that make short the portal announcement to a certain number of words, images or videos and in the end a button that say's read more, and when a user click that button go to the thread in forum.
that's all, i will be very thankful i someone can make this plugin
thanks in advance!!!

salutes!!!
(This post was last modified: 07-02-2009 10:14 AM by Azagthoth.)
07-02-2009 10:12 AM


dared
Member


Posts: 101
Joined: Jul 2008
Reputation: 2
MyBux: 1
Post: #2
RE: Short portal annnouncement
i just send a tut for it at mybbtuts.com
i think it waits for appoving after that you can get it from http://mybbtuts.com/tutorials/.

name will be Short portal annnouncement.
07-03-2009 03:17 PM
Azagthoth
Junior Member


Posts: 20
Joined: May 2009
Reputation: 0
MyBux: 11
Post: #3
RE: Short portal annnouncement
great men, i will wait for the approving then

thanks!!!
07-03-2009 11:04 PM
Dalton
Premium User


Posts: 1,393
Joined: Aug 2008
Reputation: 4
MyBux: 736
Post: #4
RE: Short portal annnouncement
Thank you dared.
It is now here: http://mybbtuts.com/tutorials/37/

07-04-2009 12:35 AM
Azagthoth
Junior Member


Posts: 20
Joined: May 2009
Reputation: 0
MyBux: 11
Post: #5
RE: Short portal annnouncement
how can i add a link with the text Read More an when someone click the link go to the thread in the forum?
07-04-2009 01:40 AM
dared
Member


Posts: 101
Joined: Jul 2008
Reputation: 2
MyBux: 1
Post: #6
RE: Short portal annnouncement
@Dalton
it's a pleasure =)

@Azagthoth
did u see "// You can edit this line too " comment? edit ....... part of that line for exp:

change this
$announcement['message'] = substr($announcement['message'], 0, 85)."......"; // You can edit this line too

to this

$announcement['message'] = substr($announcement['message'], 0, 85)."Read More..."; // You can edit this line too

or this:

$announcement['message'] = substr($announcement['message'], 0, 85)."Read More"; // You can edit this line too

thats all
(This post was last modified: 07-04-2009 06:12 AM by dared.)
07-04-2009 06:11 AM
Polarbear541
Premium User


Posts: 1,190
Joined: Aug 2008
Reputation: 4
MyBux: 1331
Post: #7
RE: Short portal annnouncement
Completed as tutorial.

/Moving to Completed

Thanks, Polarbear541
MyBB Support Team


My Sites:
YHM - My PHP project
Discuss Server - Server and Network discussion forum
07-30-2009 07:03 AM
nyahkon
Junior Member


Posts: 7
Joined: Sep 2008
Reputation: 0
MyBux: 4
Post: #8
RE: Short portal annnouncement
This is wonderful, but is there any way to preserve the formatting? For example, if I use any font tags and the font tag isn't closed before the character cut-off number is reached, the opening part of the tag will be displayed on the portal.

So, for example... on the forum it looks something like this:
This is just a test. I am testing. Did you hear about the woman who went to Australia to film a movie about drop bears?

But on the portal it looks something like this:
[size=x-small]This is just a test. I am testing. Did you hear about the woman who went...
(This post was last modified: 10-06-2009 10:57 PM by nyahkon.)
10-06-2009 10:56 PM
dared
Member


Posts: 101
Joined: Jul 2008
Reputation: 2
MyBux: 1
Post: #9
RE: Short portal annnouncement
its a known issue and i cant fix it. maybe you can request to nickman or other masters...
10-07-2009 12:33 AM
nyahkon
Junior Member


Posts: 7
Joined: Sep 2008
Reputation: 0
MyBux: 4
Post: #10
RE: Short portal annnouncement
I have made a topic at MyBB. Hopefully someone can help fix this issue:
http://community.mybboard.net/thread-57631.html
10-07-2009 06:49 PM
 





Web Design | Web Design Jobs