DBY
Who's Online
0 registered (), 4 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Latest Photo Gallery
light pole in the water
Eastern State Penitentiary - Philadelphia
Top Posters (30 Days)
Doorslammer 12
Anartist 10
HarryB 7
Dough 4
m2h 4
Goofy 4
DirtDart 3
firebane 3
Nightowl 3
ProdigalSon 2
Page 3 of 3 < 1 2 3
Topic Options
#171375 - 12/01/09 01:22 PM Re: Generate user # in URL? [Re: Frollard]
Meph Offline
the Unspoken Word

Registered: 02/10/02
Posts: 7281
Loc: Vancouver, British Columbia
that's JavaScript! You're fired!!!
_________________________

"Friends that won't let you have sex with them are not really your friends"

Top
#171380 - 12/01/09 05:51 PM Re: Generate user # in URL? [Re: Meph]
m2h Offline
Mister Troller

Registered: 06/12/01
Posts: 10638
Loc: Toronto, Canada
I like how Meph thinks this is a fairly simple thing.
Have you bothered to read any of the phpBB documentation?

First you need to make a 'module' aka MOD.
It should be an ACP module. So it can be added, or removed by the administration.

http://wiki.phpbb.com/Creating_modules

You'll need to call on the SQL database in the script to get the 'user_id' number.
Here is a list of generic tables of phpBB 3.x
http://wiki.phpbb.com/Tables .. clicking on phpbb_users gives you
http://wiki.phpbb.com/Tables/phpbb_users
At the top is 'user_id' which the users number id.

This is a basic expample of quering the DB.
http://wiki.phpbb.com/Dbal.sql_query

You will want this displayed in the 'overall_footer.html'

I ain't writing you no dang code. :P
Get yo ass over onto the phpBB forums for some help.

http://www.phpbb.com/community/

Everything I've written assumes it is phpBB v3.x


Edited by m2h (12/01/09 05:54 PM)
_________________________
Rollergettes
Edit: my ignorance is my downfall.

Top
#171383 - 12/01/09 10:29 PM Re: Generate user # in URL? [Re: m2h]
Meph Offline
the Unspoken Word

Registered: 02/10/02
Posts: 7281
Loc: Vancouver, British Columbia
actually, that's perfect. I just wanted ideas on how to do it.

THX!
_________________________

"Friends that won't let you have sex with them are not really your friends"

Top
#171386 - 12/02/09 03:40 AM Re: Generate user # in URL? [Re: Meph]
Doorslammer Offline

Funeral Director

Registered: 06/03/01
Posts: 6182
Loc: South Jersey
all forum software tracks user by number
even ubb
the problem is if the user is just reading post there is noway of tracking, well there is but bit more difficult to track
read & unread post are tracked by personal cookie
so unless your RAT is posting in your thread it's hard to find him

if you post are in a private forum /board you can get a list of user names that are in that group with read/write access to that board
_________________________
new url easy to remember www.MyDby.com another www.w3board.com and our original www.digital-boneyard.com

Top
#171391 - 12/02/09 12:13 PM Re: Generate user # in URL? [Re: Doorslammer]
Frollard Offline
911, do you need police, fire, or ambulance?

Registered: 01/13/02
Posts: 4948
Loc: Canada
but ds - doesn't the forum have to generate each page when its viewed? At *that* time the userid number could be written into the page.
_________________________
In a world where the blind leads the blind, who do you follow?

Top
#171396 - 12/02/09 05:23 PM Re: Generate user # in URL? [Re: Frollard]
Doorslammer Offline

Funeral Director

Registered: 06/03/01
Posts: 6182
Loc: South Jersey
yes it could your right
_________________________
new url easy to remember www.MyDby.com another www.w3board.com and our original www.digital-boneyard.com

Top
Page 3 of 3 < 1 2 3



Moderator:  Doorslammer, Nightowl, NightShade, Rez 
Shout Box

Today's Birthdays
No Birthdays
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29