Last uploads in phpbb profile Last uploads in phpbb profile
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Last uploads in phpbb profile

Started by flowmo, August 09, 2007, 12:27:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flowmo

http://forum.emobucket.com/member4.html

I finally got user uploads and comments working using cpmfetch on phpbb...

if you are having trouble doing this, shoot me an email and I'll walk you through doing it

flowmo

I used this method to get the username to pull from phpbb:

You HAVE to be using the extreme styles mod for phpbb , and I also include
  include "../cpmfetch/cpmfetch.php";
in line 24 of usercp_viewprofile.php so i only have to include it once


<!-- PHP -->
$usernamed = $this->vars['USERNAME'];
$options = array(
"imageStyle" => "gensmall2" );
  $objCpm = new cpm("../cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMediaFrom("owner=$usernamed",1,4,$options);
  $objCpm->cpm_close();
<!-- ENDPHP -->


that code should work for you if you using extreme styles, if u haven't installed it it's very easy to install

PirateZipp

Nice... doo you know how to use this in SMF?
.