TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 349
  • Total: 350
  • tino

Add a group to this code

Started by RebelRose, September 13, 2006, 11:55:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tmyrdal

I cant get none of this code working on my smf portal install :(  .cry .cry

Mick

Cool snippet.....

Im using it here:   http://www.chevyavalancheclub.com/index.php?action=staff

but what i dont understand is,.... why member "Donnie1" is shown twice?

lol...any ideas?

leroymcqy

how would i go about adding this to smf 2.0.4

IchBin

You have to change all the things that SMF needs.

db_query() changes to use the new $smcFunc functions like $smcFunc['db_query'](). That means adding $smcFunc to the globals.
Database fields are no longer camelcase (websiteTitle would instead be website_title). This goes for all rows in the tables. The only other changes I can think of would be ID_GROUP is now id_group and ID_MEMBER is now id_member. That should be the basics of it.

This website is proudly hosted on Crocweb Cloud Website Hosting.