vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PluhNews 1.5 (https://vborg.vbsupport.ru/showthread.php?t=21875)

Abbas 02-25-2002 01:45 PM

I wanted to add the "icon" that you can select in vB while posting a new item to appear on the news as well. Can someone tell me what vB command do I need to add to display that...One of those commands that start with a $

Thanks
Abbas

Ian Cunningham 02-28-2002 02:07 PM

Um... this is wierd... I have included the headlines.php file into my template footer (removing the call for global.php) but my forums arent displaying!? I am just getting the bottom "Private Message" bar when this script in included in the page!?

SugarChick 03-01-2002 09:56 PM

nm my host is gay it fixed itself...

princess 03-11-2002 11:09 PM

Anyone know how I could add the first few lines of a news post to the headlines? For example, headlines would look like this:

news article 1
here are the first few lines of the first news article [ read more ]
news article 2
here are the first few lines of the second news artcile [ read more ]
news article 3
and just for fun this one gets a different first few lines [ read more ]
news article 4
so does this one, see what i'm saying?[ read more ]

sianews 03-14-2002 02:51 AM

Limit characters here :).

Gutspiller 03-14-2002 07:28 PM

Can somebody help me to get this hack work across domains?

I take this page: http://www.theforumz.com/forumz/frontpage.php

and change all the stuff to look at: http://www.theforumz.com/forumz/plugnews.php or whatever the file name is.

I changed the requiring files to the same thing where I tell it the full domain path. When I try to use the page across a domain it gives me this error:

Fatal error: Failed opening required 'http:www//TheForumz.com/forumz/global.php' (include_path='') in (my domain path)\testfrontpage.php on line 1

So it is having a problem even doing the requiring the global.php part.

Can somebody please help me on how I can get this to work.

Thanks for any help you guys can provide.

SystemLogic 03-14-2002 07:33 PM

I think on global.php you need to require the files with the entire URL path....try that....

Dherkhon 03-16-2002 04:20 AM

sorry for by bad english :p

here is my error lol

Quote:

Parse error: parse error in /homepages/32/d34562187/htdocs/forums/PluhNews.php on line 81
and here is my html

Quote:

//Edit the HTML here (keep in mind that any double quote that is HTML requires a backslash in front of it)

<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\"> <- Line 81
<tr>
<td bgcolor=\"#000000\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#6B7E89\">

echo "

<a href=\"$forumspath/forums/showthread.php?s=&threadid=$threadid\"><b>$title</b></a> - <a href=\"$forumspath/forums/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a><br>
Posted By <a href=\"$forumspath/forums/member.php?s=&action=getinfo&userid=$postuserid\"> <b>$postusername</b></a> at <i>$dateposted</i>
</center>

</td>
</tr>
<tr>
<td bgcolor=\"#6B7E89\">

<blockquote></a>$bericht</blockquote><center><a href=\"$forumspath/forums/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a> Last comment was by <b>$lastposter</b></center><hr noshade height=\"1\" width=\"60%\"><p>
";


</td>
</tr>
</table>
</td>
</tr>
</table>

}
}



//add news search stuff (this is optional - delete if you do not wish to include this, or edit it to meet your needs
echo "<center><a href=\"$forumspath/forums/search.php?s=\">Search the News</a> | <a href=\"$forumspath/forums/forumdisplay.php?s=&forumid=$newsforums\">View All News Posts</a></center>";



//end HTML edit
//**********************
Thanks for help :cheeky:

Brian Cruz 03-16-2002 05:13 AM

I'd really like to be able to display the avatar and thread icon for each news post. How can the script be modifed to call those up?

Brian Cruz 03-20-2002 03:28 AM

Quote:

Originally posted by Brian Cruz
I'd really like to be able to display the avatar and thread icon for each news post. How can the script be modifed to call those up?
Anyone? Please?


All times are GMT. The time now is 01:58 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
  • Page Generation 0.01714 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete