Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
see the image below. I want to add that halo 2 image there for the group "clan members" and that group only. If theye are not marked as being in that group, they dont get the image.

I got so far as to add the image but it shows up under every member. I tried the User Group Flag mod and got the image to move to the bottom but it moves the "A" and the "M" also and it don't display the halo 2 image if they are an admin or mod.... (because they have an image already)

Im also tring to figure out how to get each one of thoose images to link to that persons stats page.

I added the halo 2 and the trophy image in ms paint, because that where I would like them to display.
Attachments
123084-untitled.JPG (0 Bytes, 12 downloads)

Last edited by DrChaos; 11/16/2004 8:34 PM.
Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
What you would do:

in showflat.php you have to modify the query where all the posts are gathered from the database to include the Group each user is in. Then also modify the (list() to gather these groups to a variable.

Then, you have to make a check, whether the user is in your helo group , and whether his status is not admin or mod.

If the above conditions are met, asign a variable $postrow[$i]['Helo2image'] the image url, and then include this varaible in your showflat.tmpl file where you want the image to appear.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
..or you can modify the existing modification to give you the information you need. The "A" graphic for the admins for instance is a <img src.... /> tag that is displayed there. All you have to do is alter the function that Josh's modification has to also contain the condition if usergroup= something then <a href="this is the new link"><img src="the new graphic"></a>

Something like that will make it work without too much tampering with the modifications. As for the stats page you will have to give a bit more information. Where is the stats information coming from? Is it a standard page where you pass the U_Number as a parameter and it shows the statistics or something else that is stored in the database?


Nikos
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
[]Anno said:
What you would do:

in showflat.php [/]

It would also need to be done in showthreaded.php & showthreaded.tmpl, and the changes will be slightly different.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Thanks for the pointers. Not sure but Ill give it a try.

The stats page for halo 2 and each user is on an outside link located on the bungie.net website.

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
>It would also need to be done in showthreaded.php & showthreaded.tmpl,

Providing anybody is using the showthreaded view

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
You will be surprised


Nikos
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
I know on my board the majority of users prefer it

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Really?! On our board showflat is used almost exclusively.

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Code
total view <br />3282 threaded <br />171  flat <br />  

Sponsored Links
Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
threaded is for more "advanced" users lol

sometimes I am lucky if my users can follow the registration instructions

Last edited by ChAoS; 11/18/2004 5:36 AM.
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
[]ChAoS said:
sometimes I am lucky if my users can follow the registration instructions [/]
VERY VERY lucky!!!!


Nikos
Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
seriously about 10-15% of the people that sign up for my boards A) Reply to the Welcome PM. or B)Reply to the confirm Email instead of clicking the link.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)