NATION

PASSWORD

Dump telegrams for phpBB messages?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Dump telegrams for phpBB messages?

Postby Linux and the X » Fri Jun 25, 2010 1:25 pm

Considering that there have been several proposals to give the telegram system an out box (one proposal even pointing out the similarity to phpBB), why don't we just use the private message function in phpBB instead? It already has formatting, an out box, more storage space, and many of the features people want. All it would require (that I know of) from the admins is:
  • Enable private messaging on phpBB
  • Transfer stored telegrams to phpBB (it shouldn't be too hard to write such a script)
  • Change the telegram form on nation pages to either submit to phpBB or just be link
  • Change the sidebar link
Yes, it would take some admin effort, but that effort can be taken away from overhauling the telegram system -- because we have a perfectly good one already!
Last edited by Linux and the X on Fri Jun 25, 2010 1:25 pm, edited 1 time in total.
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Unibot
Senator
 
Posts: 4292
Founded: May 25, 2008
Ex-Nation

Postby Unibot » Fri Jun 25, 2010 1:57 pm

The admins are working on a complete reboot of the telegram system. It sounded pretty awesome.

viewtopic.php?p=571694#p571694
viewtopic.php?p=575718#p575718
Last edited by Unibot on Fri Jun 25, 2010 5:22 pm, edited 1 time in total.

User avatar
Timberwolf1211
Bureaucrat
 
Posts: 64
Founded: Jun 22, 2010
Ex-Nation

Postby Timberwolf1211 » Fri Jun 25, 2010 2:03 pm

I like having Telegrams,

what's going to be new about them
If you were gay, that would be OK, because I mean hey, I like you anyway, and if you were queer, i'd still be here, because you see, if it were me, I would feel free to say that I was gay

BUT I'M NOT GAY!!!!!!!!!!!!!!!!!

User avatar
Coldran
Secretary
 
Posts: 38
Founded: Apr 05, 2010
Ex-Nation

Postby Coldran » Fri Jun 25, 2010 2:05 pm

Linux and the X wrote:Considering that there have been several proposals to give the telegram system an out box (one proposal even pointing out the similarity to phpBB), why don't we just use the private message function in phpBB instead? It already has formatting, an out box, more storage space, and many of the features people want. All it would require (that I know of) from the admins is:
  • Enable private messaging on phpBB
  • Transfer stored telegrams to phpBB (it shouldn't be too hard to write such a script)
  • Change the telegram form on nation pages to either submit to phpBB or just be link
  • Change the sidebar link
Yes, it would take some admin effort, but that effort can be taken away from overhauling the telegram system -- because we have a perfectly good one already!
Hmm, sounds intresting. How would that work, exactly? Also, would I have to do anything more to be allowed to use the private messaging that what I've already done to join NationStates?

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Postby Glen-Rhodes » Fri Jun 25, 2010 2:10 pm

phpBB private messages are stored on the same database as all the other information in the forums. Depending on the volume of messages sent, it could cause a significant spike in resource usage.

(For all intents and purpose, private messages are the same thing as threads-- just that only certain people can view them. So, imagine taking all of the telegrams sent on a daily basis and convert those into new forum posts.)
Last edited by Glen-Rhodes on Fri Jun 25, 2010 2:11 pm, edited 1 time in total.

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Postby Glen-Rhodes » Fri Jun 25, 2010 2:23 pm

Canadai wrote:As apposed to completely re-writing flat nation files with every TG, I find it an awesome idea that will lower the resource requirement.

Databases are faster and more efficient than flat files, but didn't we have load issues when this forum was first set up? Adding more information to the database might not be the best idea, if the load issues were because of the usage volume.

User avatar
Northern Bavungria
Diplomat
 
Posts: 862
Founded: Jun 23, 2010
Ex-Nation

Postby Northern Bavungria » Fri Jun 25, 2010 2:29 pm

this sounds like a good idea but the admins will fix it :)
Get better Jenrak!
My Puppets are Khamerut and Bavungria and Cameroonate
Proud Socialist. My nation is a MT, second-world country.
Want to Role Play send me a telegram.
Proud Member of the ☭USCR☭ Join the democratic region where any type of communist or socialist system is allowed ☭USCR☭
Factbook in progress
Embassy Program

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Postby Linux and the X » Fri Jun 25, 2010 2:34 pm

Glen-Rhodes wrote:
Canadai wrote:As apposed to completely re-writing flat nation files with every TG, I find it an awesome idea that will lower the resource requirement.

Databases are faster and more efficient than flat files, but didn't we have load issues when this forum was first set up? Adding more information to the database might not be the best idea, if the load issues were because of the usage volume.

That was, IIRC, because the search was incredibly inefficient (about as efficient as the current TG system, in fact). If we moved the flat-file TG system to a database, we would be adding more load to the database, but also removing load from the flat files.
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Postby Glen-Rhodes » Fri Jun 25, 2010 2:47 pm

Linux and the X wrote:If we moved the flat-file TG system to a database, we would be adding more load to the database, but also removing load from the flat files.

Would need Pyth or [violet] to comment on that. I don't know much about the site infrastructure.

I would personally prefer sticking with an updated telegram system, so that you don't have to hack the phpBB PM system so that we can send somebody a PM from their nation page.

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Postby Linux and the X » Fri Jun 25, 2010 2:58 pm

Glen-Rhodes wrote:I would personally prefer sticking with an updated telegram system, so that you don't have to hack the phpBB PM system so that we can send somebody a PM from their nation page.

It wouldn't really be hacking the PM system. It would just change the telegram form from
Code: Select all
<form method="post" action="nation=[i]nation[/i]#s">
  <p><textarea name="message" /></p>
  <input type="submit" name="send" value="Send!" />
</form>

to something along the lines of
Code: Select all
<form action="http://forum.nationstates.net/ucp.php?i=pm&amp;mode=compose&amp;action=post" method="post" name="postform">
  <input type="hidden" name="username_list" value="[i]nation[/i]">
  <p><textarea name="message" /></p>
  <input type="submit" name="post" value="Send!" />
</form>

(I simplified the code for both; that is not the exact code used.)
Last edited by Linux and the X on Fri Jun 25, 2010 2:58 pm, edited 1 time in total.
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Postby Linux and the X » Fri Jul 02, 2010 2:16 am

Sorry to bump, but could we get an admin opinion on this? I really don't think it would be difficult to implement (and certainly easier than writing a new telegram system from scratch), but I would like to know if there would be problems that I'm currently unaware of.
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Bears Armed
Postmaster of the Fleet
 
Posts: 21475
Founded: Jun 01, 2006
Civil Rights Lovefest

Postby Bears Armed » Fri Jul 02, 2010 9:49 am

i don't know anything about the technical side of matters, so I have to ask: Would that change still leave the Mods with the ability to read people's in-boxes, so that they could check on the validity of any complaints about insulting (or otherwise inappropriate) messages?
Last edited by Bears Armed on Fri Jul 02, 2010 9:50 am, edited 1 time in total.
The Confrederated Clans (and other Confrederated Bodys) of the Free Bears of Bears Armed
(includes The Ursine NorthLands) Demonym = Bear[s]; adjective = ‘Urrsish’.
Population = just under 20 million. Economy = only Thriving. Average Life expectancy = c.60 years. If the nation is classified as 'Anarchy' there still is a [strictly limited] national government... and those aren't "biker gangs", they're traditional cross-Clan 'Warrior Societies', generally respected rather than feared.
Author of some GA Resolutions, via Bears Armed Mission; subject of an SC resolution.
Factbook. We have more than 70 MAPS. Visitors' Guide.
The IDU's WA Drafting Room is open to help you.
Author of issues #429, 712, 729, 934, 1120, 1152, 1474, 1521.

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Postby Linux and the X » Fri Jul 02, 2010 12:45 pm

Bears Armed wrote:i don't know anything about the technical side of matters, so I have to ask: Would that change still leave the Mods with the ability to read people's in-boxes, so that they could check on the validity of any complaints about insulting (or otherwise inappropriate) messages?

By default, no, but a phpBB extension exists to allow exactly that. It also allows the mods to view the entire conversation (so they know the context).
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Winnipeg
Bureaucrat
 
Posts: 52
Founded: Antiquity
Ex-Nation

Postby Winnipeg » Fri Jul 02, 2010 11:18 pm

Biggest problem you would have forcing telegrams into the Forum PM system is Players under the age of 13 would not be able to use it as they can't agree to the terms of use for the Forum portion of the site (same reason they are banned from the forum, but not the game if they're found out to be underage.)
Robin 'Winnipeg' Morrison
Creator of WinniVision(TM)
Home of the West Pacific

User avatar
Unibot
Senator
 
Posts: 4292
Founded: May 25, 2008
Ex-Nation

Postby Unibot » Sat Jul 03, 2010 6:18 am

Winnipeg wrote:Biggest problem you would have forcing telegrams into the Forum PM system is Players under the age of 13 would not be able to use it as they can't agree to the terms of use for the Forum portion of the site (same reason they are banned from the forum, but not the game if they're found out to be underage.)


Good catch.

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Postby Linux and the X » Sat Jul 03, 2010 6:23 am

Winnipeg wrote:Biggest problem you would have forcing telegrams into the Forum PM system is Players under the age of 13 would not be able to use it as they can't agree to the terms of use for the Forum portion of the site (same reason they are banned from the forum, but not the game if they're found out to be underage.)

I suppose we could differentiate between using the telegram feature, which happens to be powered by the forums software, and the forums themselves.
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Unibot
Senator
 
Posts: 4292
Founded: May 25, 2008
Ex-Nation

Postby Unibot » Sat Jul 03, 2010 9:01 pm

This has been added to the Big List.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Achias, Da Netherlands, Elite, Kakastania, Marigold Isles, Neo-Hermitius, Neony, Riemstagrad, Vaeruio, Verderiesdre, Weirtopia

Advertisement

Remove ads