![]() |
So, I don't need the <iframe> part in there at all and have the module call adv_portal_features (the template)?
BTW: I opened the forum back up so you can see the problem occurring. Everything is cool now. Thanks for all of your help |
Yes, add your PHP file to your modules list, and it should work.
Have you pu the layout of your module in your PHP file? If so, place it in a template. |
My only problem is that I am not sure how to format the template. The module is activated and it includes features.php, but I am unsure what to put in the template to display the information that the php script retrieves. Anyone have any ideas?
|
Post the script you coded here, else we can't help you.
|
It's the same one as above. Here it is
Code:
<?php |
What info do you want displayed?
|
hey i got it all sorted out finally. Thanks for all the help, especially from Deaths and noppid.
actually, lol, i have one other thing... I got the title pulled, but how do i make it a link to that post? and the cut off is at 150 words, but how do i create a link that says "read more", for my users to read the rest of the posts? |
Link to thread:
Code:
<a href="showthread.php?t=$box_forumid_1thread[threadid]">$box_forumid_1thread[title]</a> To limit the message to a certain amount of chars (in this case 250): PHP Code:
The PHP code must be added to the PHP file, BELOW the query, and BELOW the parsing of the bbcode in it (if you parse it), but ABOVE the calling for the template. That should work, if not, let me know. |
The link to the thread worked great. I'm not sure what you mean by the variable I use for my message, though..
|
Well, how do you display that text?
|
All times are GMT. The time now is 11:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|