1
antifmradio
placing code from one module into another

is it possable....well im sure it is but i know im missing somehting to make it work

Heres what im trying to do

Yogurt has a section of the "yogurt_index.html"
in this specific section, the yogurt main page will show:
User Extra Info:
Extra Info:


----------------------

In the XOOPS Wordpress 2.11
There is a file called "wp_sidebar.html"
Ironically this side bar info has a line which pulls the extra info from a users EXTRA INFO just like shown in YOGURT

------
ok so basically WORDPRESS is doing what i want to do in another module. I want to pull the EXTRA INFO from a users profile, and have it show up in another module.


The module im trying to work it with is one recently sent to me by TRABIS ( thank you )
He created a SITE INFO block which contains this line of code
(Its for soemthing he calls USERBLOCKS module)

<table class="outer" cellspacing="0">

  <{if 
$block.showgroups == true}>

  
  <{foreach 
item=group from=$block.groups}>
  <
tr>
    <
th colspan="3"><{$group.name}>th>
  tr>

  
  <{foreach 
item=user from=$group.users}>
  <
tr>
    <
td width="80" align="center" valign="middle" class="even"><img src="<{$user.avatar}>" alt="" width="32" /><br /><a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}>a>td><td width="50" align="right" valign="middle" class="odd"><{$user.msglink}>td>
    <
td class="odd" align="left" valign="middle"><p>&nbsp;p>
    td>
  tr>
  <{/foreach}>
  

  <{/foreach}>
  
  <{/if}>
table>



This shows three colums from left to right
1st column shows User Avatar over Username ( Link embeded )
2nd column shows this image Resized Image
allowing you to PM that person.


I am trying to create a 3rd column at the right side
I created the column but i cant get it to pull the EXTRA INFO from a users profile.

Here is the code for EXTRA INFO from Yogurt

<img src="images/bio.gif" /> <span class="yogurt-profileinfo-label"><{$lang_extrainfo}>:span>p>
<
p  class="yogurt-profileinfo-valuebigtext odd"><{$user_extrainfo}>


i simply tried pasting the info from the yogurt code into a 3rd column but nothing shows
i then look at anything related to LANGUAGE between the two but i dont think thats it either.
I think theres a few lines i need to include but dont know where
Ant these lines basically tell USERBLOCK 3rd colum to look in (...This /file /path....) for the acurate EXTRA USER INFO

Login

Who's Online

361 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 361


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits